MongoCredentialCreateMongoX509Credential Method |
Creates a credential used with MONGODB-CR.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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