IdentityReference Members

Represents an identity and is the base class for the NTAccount and SecurityIdentifier classes. This class does not provide a public constructor, and therefore cannot be inherited.

The following tables list the members exposed by the IdentityReference type.

  Name Description
Public property Value Gets the string value of the identity represented by the IdentityReference object.
Top

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden.  
Public method GetHashCode Overridden. Serves as a hash function for IdentityReference. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsValidTargetType Returns a value that indicates whether the specified type is a valid translation type for the IdentityReference class.
Public method Static op_Equality Compares two IdentityReference objects to determine whether they are equal. They are considered equal if they have the same canonical name representation as the one returned by the Value property or if they are both a null reference (Nothing in Visual Basic).
Public method Static op_Inequality Compares two IdentityReference objects to determine whether they are not equal. They are considered not equal if they have different canonical name representations than the one returned by the Value property or if one of the objects is a null reference (Nothing in Visual Basic) and the other is not.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Returns the string representation of the identity represented by the IdentityReference object.
Public method Translate Translates the account name represented by the IdentityReference object into another IdentityReference-derived type.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show: