Click or drag to resize

Identity Class

Provides access to the current identity object.
Inheritance Hierarchy
SystemObject
  Colygon.MatchPoint.Common.SecurityIdentity

Namespace:  Colygon.MatchPoint.Common.Security
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2016.10.0.0
Syntax
C#
public class Identity : IDisposable

The Identity type exposes the following members.

Properties
  NameDescription
Public propertyName
The name of the represented identity.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the Identity
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Identity and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetCurrent
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsInRole
Checks whether the user is in the specified role.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also