IdentityReference Class

IdentityReference Class

 

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.

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


<ComVisibleAttribute(False)>
Public MustInherit Class IdentityReference

NameDescription
System_CAPS_pubpropertyValue

Gets the string value of the identity represented by the IdentityReference object.

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether the specified object equals this instance of the IdentityReference class.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for IdentityReference. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.(Overrides Object.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 IdentityReference class.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string representation of the identity represented by the IdentityReference object.(Overrides Object.ToString().)

System_CAPS_pubmethodTranslate(Type)

Translates the account name represented by the IdentityReference object into another IdentityReference-derived type.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(IdentityReference, IdentityReference)

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 null.

System_CAPS_puboperatorSystem_CAPS_staticInequality(IdentityReference, IdentityReference)

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 null and the other is not.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft