WindowsIdentity Members
.NET Framework 3.0
Represents a Windows user.
The following tables list the members exposed by the WindowsIdentity type.
| Name | Description | |
|---|---|---|
| WindowsIdentity | Overloaded. Initializes a new instance of the WindowsIdentity class. |
| Name | Description | |
|---|---|---|
| AuthenticationType | Gets the type of authentication used to identify the user. |
| Groups | Gets the groups the current Windows user belongs to. |
| ImpersonationLevel | Gets the impersonation level for the user. |
| IsAnonymous | Gets a value indicating whether the user account is identified as an anonymous account by the system. |
| IsAuthenticated | Gets a value indicating whether the user has been authenticated by Windows. |
| IsGuest | Gets a value indicating whether the user account is identified as a Guest account by the system. |
| IsSystem | Gets a value indicating whether the user account is identified as a System account by the system. |
| Name | Gets the user's Windows logon name. |
| Owner | Gets the security identifier (SID) for the token owner. |
| Token | Gets the Windows account token for the user. |
| User | Gets the security identifier (SID) for the user. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases the resources used by the WindowsIdentity. |
| Equals | Overloaded. Determines whether two Object instances are equal. (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. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Dispose | Overloaded. Releases the resources used by the WindowsIdentity. |
| 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) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Community Additions
ADD
Show: