the name of the user to be created
the user password (not required if the database uses external credentials)
the roles granted to the user, possibly an empty to create users without roles
when true, the mongod instance will create the hash of the user password (default: true
)
the optional level of write concern
the custom data to associate with the user account
the custom data to associate with the user account
when true, the mongod instance will create the hash of the user password (default: true
)
the name of the user to be created
the user password (not required if the database uses external credentials)
the roles granted to the user, possibly an empty to create users without roles
the optional level of write concern
The createUser command.
the name of the user to be created
the user password (not required if the database uses external credentials)
the roles granted to the user, possibly an empty to create users without roles
when true, the mongod instance will create the hash of the user password (default:
true
)the optional level of write concern
the custom data to associate with the user account