Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.


Info

The user management of the MongoDB is not part of the Community Edition of Mongo Management Studio.

 

MongoDB has an integrated user managementThis allows you to control the access to the databases and to assign read/write permissions.

In Mongo Management Studio you get access to the user management with tight-clicking on a database name in the left navigation tree and selecting "User Management" from the opened context menu. A popup with a list of existing users of the database opens and gives the option to edit or delete them. By clicking on "Add user" a form for a new user appears. A user always gets a username and a password or a usersource . In  Chose the appropriate role from the list of the roles you can select the required one and click on the "Save" button to save the user.

A special case is the admin database, which exists in every MongoDB server instance.  There are Some specific roles , which are only effectiveactive, if they are awarded have been granted on the admin database. To get Get access to the user management of the admin database click with the right mouse button by right-clicking on the server connection and select the entry selecting "Usermanagement" in from the context menu.

Hinweis

If the server is running in authentication mode and still no global user exists yet, it comes to a an "Auth failed" - error message will be displayed after adding a user. In this case it must be simply re-connected just with the stored user data.

...