Click or drag to resize

UsernamePasswordCredential Constructor (String, String, SecureString)

Initializes a new instance of the UsernamePasswordCredential class.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public UsernamePasswordCredential(
	string source,
	string username,
	SecureString password
)

Parameters

source
Type: SystemString
The source.
username
Type: SystemString
The username.
password
Type: System.SecuritySecureString
The password.
See Also