Constructor MongoInternalIdentity NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll MongoInternalIdentity(string, string) Initializes a new instance of the MongoInternalIdentity class. public MongoInternalIdentity(string databaseName, string username) Parameters databaseName string Name of the database. username string The username.