Skip to main content
A newer version of this page is available. .
All docs
V22.2

MongoDBPasswordAuthenticationInfo Constructors

Contains settings for the Password authentication method.
Name Parameters Description
MongoDBPasswordAuthenticationInfo(String, String, String) username, password, authenticationDatabase Initializes a new instance of the MongoDBPasswordAuthenticationInfo class with specified settings.
MongoDBPasswordAuthenticationInfo(String, String) username, password Initializes a new instance of the MongoDBPasswordAuthenticationInfo class with specified settings.
See Also