- Reference >
mongoShell Methods >- User Management Methods >
- db.getUsers()
db.getUsers()¶
On this page
Definition¶
-
db.getUsers()¶ Returns information for all the users in the database.
db.getUsers()wraps theusersInfocommand.
mongo Shell Methods > On this page
db.getUsers()¶Returns information for all the users in the database.
db.getUsers() wraps the usersInfo command.