MongoCredentialCreateMongoX509Credential Method |
Creates a credential used with MONGODB-X509.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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