- tl;dr
User Manager, along with the Role Manager, simplifies MongoDB user management tasks like creating users and granting roles.
Basics
To open User Manager:
Button
Click on Users in the global toolbar.
Right-click
Right-click on any target database in the Connection Tree and choose Manage Users.
Add a user
- Click on Add.
- Enter the username.
- Enter the password. This is a required field.
- Grant the relevant roles by clicking on Grant Roles. They will populate the table under the Roles tab. Alternatively, remove a role by selecting it and clicking on Revoke Roles.
- To add optional information about the user, use the Custom Data tab and insert it in JSON.
- Click on Add User.
Edit a user
Select the user and click on Edit to open the user profile and make changes.
Delete a user
Select the user and click on Drop to delete the user from the list.
Grant roles
- Choose the user.
- Click on Grant Roles.
- Find the role by entering it in the text or choosing it from the list.
- Click Grant.