Docs Menu
Docs Home
/
MongoDB Manual
/ /

User Management Commands

Note

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

Name
Description

createUser

Creates a new user.

Deletes all users associated with a database.

Removes a single user.

Grants a role and its privileges to a user.

Removes a role from a user.

Updates a user's data.

Returns information about the specified users.

Back

logout