Defining MongoDB User IDs

The following properties are applicable to a MongoDB User ID object.

Tab

Property

Description

General Password Specifies the user's password
CustomeData Specifies to store any additional data that associates with particular user
Roles Specifies the user role
Mechanisms Specifies the specific SCRAM mechanism or mechanisms for creating SCRAM user credentials
Write Concern Specifies the level of write concern for the creation operation