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