NTAccount Methods
.NET Framework 4
The NTAccount type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Returns a value that indicates whether this NTAccount object is equal to a specified object. (Overrides IdentityReference.Equals(Object).) |
|
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 | Serves as a hash function for the current NTAccount object. The GetHashCode method is suitable for hashing algorithms and data structures like a hash table. (Overrides IdentityReference.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsValidTargetType | Returns a value that indicates whether the specified type is a valid translation type for the NTAccount class. (Overrides IdentityReference.IsValidTargetType(Type).) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns the account name, in Domain\Account format, for the account represented by the NTAccount object. (Overrides IdentityReference.ToString().) |
|
Translate | Translates the account name represented by the NTAccount object into another IdentityReference-derived type. (Overrides IdentityReference.Translate(Type).) |