Identity Class |
Namespace: Colygon.MatchPoint.Common.Security
public class Identity : IDisposable
The Identity type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the Identity | |
Dispose(Boolean) | Releases the unmanaged resources used by the Identity and optionally releases the managed resources | |
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.) | |
GetCurrent |
In case of HTTP request this returns the request user independent of any impersonation, in a list event handler
or command line application the user defined by WindowsIdentity.GetCurrent() is returned.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsInRole | Checks whether the user is in the specified role. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |