Navigation
This version of the documentation is archived and no longer supported.

db.getUsers()

Definition

db.getUsers()

Returns information for all the users in the database.

db.getUsers() wraps the usersInfo command.

Required Access

To view another user’s information, you must have the viewUser action on the other user’s database.

Users can view their own information.