On this page
Returns information for all the users in the database.
db.getUsers() wraps the usersInfo command.
To view another user’s information, you must have the viewUser action on the other user’s database.
Users can view their own information.