Gets the
IIdentity of the current
principal.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim instance As ClaimsPrincipal
Dim value As IIdentity
value = instance.Identity
|
Syntax
Visual Basic |
Public Overridable ReadOnly Property Identity As IIdentity
|
C# |
public virtual IIdentity Identity { get; }
|
C++ |
public:
virtual property IIdentity^ Identity {
IIdentity^ get ();
}
|
J# |
/** @property */
public IIdentity get_Identity ()
|
JScript |
public function get Identity () : IIdentity
|
Property Value
Returns
IIdentity.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also