AuthDatabase Parameter (Connect-MongoDB Cmdlet)
The name of the MongoDB database for authentication.
Syntax
Connect-MongoDB -AuthDatabase string
Data Type
cstr
Default Value
""
Remarks
The name of the MongoDB database for authentication. Only needed if the authentication database is different from the database to retrieve data from.