MongoCredentialCreateMongoX509Credential Method |
Creates a credential used with MONGODB-CR.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntax public static MongoCredential CreateMongoX509Credential(
string username
)
Public Shared Function CreateMongoX509Credential (
username As String
) As MongoCredential
static member CreateMongoX509Credential :
username : string -> MongoCredential
Parameters
- username
- Type: SystemString
The username.
Return Value
Type:
MongoCredentialA credential for MONGODB-X509.
See Also