MongoCredential.CreatePlainCredential Method (String, String, SecureString) | 
 
            Creates a PLAIN credential.
            
 
    Namespace: 
   MongoDB.Driver
    Assembly:
   MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntaxpublic static MongoCredential CreatePlainCredential(
	string databaseName,
	string username,
	SecureString password
)
Public Shared Function CreatePlainCredential ( 
	databaseName As String,
	username As String,
	password As SecureString
) As MongoCredential
static member CreatePlainCredential : 
        databaseName : string * 
        username : string * 
        password : SecureString -> MongoCredential 
Parameters
- databaseName
 - Type: System.String
Name of the database. - username
 - Type: System.String
The username. - password
 - Type: System.Security.SecureString
The password. 
Return Value
Type: 
MongoCredentialA credential for PLAIN.
See Also