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