This documentation is archived and is not being maintained.
WindowsIdentity Methods
Visual Studio 2008
The WindowsIdentity type exposes the following members.
| Name | Description | |
|---|---|---|
|
Dispose | Overloaded. Releases the resources used by the WindowsIdentity. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from 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.) |
|
GetAnonymous | Returns a WindowsIdentity object that represents an anonymous user. |
|
GetCurrent | Overloaded. Returns a WindowsIdentity object that represents the current Windows user. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Impersonate | Overloaded. Allows code to impersonate a different Windows user. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ISerializable::GetObjectData | Infrastructure. Sets the SerializationInfo object with the logical context information needed to recreate an instance of this execution context. |
|
IDeserializationCallback::OnDeserialization | Infrastructure. Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete. |
Show: