- Reference >
mongo
Shell 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 theusersInfo
command.
mongo
Shell Methods > On this page
db.
getUsers
()¶Returns information for all the users in the database.
db.getUsers()
wraps the usersInfo
command.