MongoUser Class |
Note: This API is now obsolete.
Namespace: MongoDB.Driver
The MongoUser type exposes the following members.
Name | Description | |
---|---|---|
MongoUser(String, PasswordEvidence, Boolean) |
Creates a new instance of MongoUser.
| |
MongoUser(String, String, Boolean) |
Creates a new instance of MongoUser.
|
Name | Description | |
---|---|---|
IsReadOnly |
Gets or sets a value indicating whether the user is a read-only user.
| |
PasswordHash |
Gets or sets the password hash.
| |
Username |
Gets or sets the username.
|
Name | Description | |
---|---|---|
Equals(Object) |
Determines whether this instance and a specified object, which must also be a MongoUser object, have the same value.
(Overrides ObjectEquals(Object).) | |
Equals(MongoUser) |
Determines whether this instance and another specified MongoUser object have the same value.
| |
Equals(MongoUser, MongoUser) |
Determines whether two specified MongoUser objects have the same value.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode |
Returns the hash code for this Class1 object.
(Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HashPassword(String, PasswordEvidence) |
Calculates the password hash.
| |
HashPassword(String, String) |
Calculates the password hash.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a string representation of the user.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Determines whether two specified MongoUser objects have the same value.
| |
Inequality |
Determines whether two specified MongoUser objects have different values.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |