ADO.NET Provider for MongoDB

Build 26.0.9655

Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


PropertyDescription
ServerThe host name or IP address of the server hosting the MongoDB database.
PortThe port for the MongoDB database.
UserSpecifies the authenticating user's user ID.
PasswordSpecifies the authenticating user's password.
AuthSchemeThe authentication mechanism that MongoDB will use to authenticate the connection.
DatabaseThe name of the MongoDB database.
UseSSLThis field sets whether SSL is enabled.
AuthDatabaseThe name of the MongoDB database for authentication.
ReplicaSetThis property allows you to specify multiple servers in addition to the one configured in Server and Port . Specify both a server name and port; separate servers with a comma.
DNSServerSpecify the DNS server when resolving MongoDB seed list.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655