This documentation is archived and is not being maintained.
WindowsIdentity Methods
.NET Framework 1.1
The methods of the WindowsIdentity class are listed here. For a complete list of WindowsIdentity class members, see the WindowsIdentity Members topic.
Public Methods
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
![]() GetAnonymous | Returns a WindowsIdentity object that represents an anonymous Windows user. |
![]() GetCurrent | Returns a WindowsIdentity object that represents the current Windows user. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Impersonate | Overloaded. Allows code to impersonate a different Windows user. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Methods
Finalize | Overridden. Frees resources before the WindowsIdentity is reclaimed by the Garbage Collector.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
