NTAccount Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this NTAccount object is equal to a specified object.(Overrides IdentityReference.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

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().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsValidTargetType(Type)

Returns a value that indicates whether the specified type is a valid translation type for the NTAccount class.(Overrides IdentityReference.IsValidTargetType(Type).)

System_CAPS_pubmethodToString()

Returns the account name, in Domain\Account format, for the account represented by the NTAccount object.(Overrides IdentityReference.ToString().)

System_CAPS_pubmethodTranslate(Type)

Translates the account name represented by the NTAccount object into another IdentityReference-derived type.(Overrides IdentityReference.Translate(Type).)

Return to top
Show: