OPTIONS
翻译或纠错本页面

db.getUsers()

Definition

db.getUsers()

Returns information for all the users in the database.

db.getUsers() wraps the usersInfo command.

Required Access

You must have the viewUser action on another user’s database to view the other user’s credentials.

You can view your own information.