...
An example user is shown below. Note that the specific roles are required.
Code Block |
---|
{db.createUser( { 'user' : 'admin', 'pwd' : 'passwordPrompt(), // or cleartext password 'roles' : [ {'role' : 'root', 'db' : 'admin'}, ] } } ) |
Configuring Remote Data Repository Server to Use SSL
...