Skip to main content
All docs
V25.1
  • 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