Docs Menu

Docs HomeDevelop ApplicationsMongoDB Manual

User Management Methods

Note

For details on a specific method, including syntax and examples, click on the link to the method's reference page.

Name
Description
Authenticates a user to a database.
Changes an existing user's password.
Creates a new user.
Removes a single user.
Deletes all users associated with a database.
Returns information about the specified user.
Returns information about all users associated with a database.
Grants a role and its privileges to a user.
Deprecated. Removes a user from a database.
Removes a role from a user.
Updates user data.
Prompts for the password as an alternative to specifying passwords directly in various mongosh user authentication/management methods.
←  Bulk.toString()db.auth() →