Docs Menu

Docs HomeMongoDB Manual

Role 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
Creates a role and specifies its privileges.
Deletes the user-defined role.
Deletes all user-defined roles from a database.
Assigns privileges to a user-defined role.
Specifies roles from which a user-defined role inherits privileges.
Flushes the in-memory cache of user information, including credentials and roles.
Removes the specified privileges from a user-defined role.
Removes specified inherited roles from a user-defined role.
Returns information for the specified role or roles.
Updates a user-defined role.
←  usersInfocreateRole →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.