System.Security.Principal.NTAccount: Method Members

The methods of System.Security.Principal.NTAccount are listed below. For a list of all members, see the NTAccount Members list.

See Also: Inherited members from System.Security.Principal.IdentityReference

Public Methods

override
Equals(object) : bool

Returns a value that indicates whether this System.Security.Principal.NTAccount object is equal to a specified object.

override
GetHashCode() : int

Serves as a hash function for the current System.Security.Principal.NTAccount object. The NTAccount.GetHashCode method is suitable for hashing algorithms and data structures like a hash table.

override
IsValidTargetType(Type) : bool

Returns a value that indicates whether the specified type is a valid translation type for the System.Security.Principal.NTAccount class.

override
ToString() : string

Returns the account name, in Domain\Account format, for the account represented by the System.Security.Principal.NTAccount object.

override
Translate(Type) : IdentityReference

Translates the account name represented by the System.Security.Principal.NTAccount object into another System.Security.Principal.IdentityReference-derived type.