Provides methods that retrieve information about the current caller.
The following tables list the members exposed by the ClaimsPrincipal type.
|AnonymousPrincipal||Gets a IClaimsPrincipal with a ClaimsIdentity that contains zero claims.|
|Identities||Gets the ClaimsIdentityCollection associated with this principal.|
|Identity||Gets the IIdentity of the current principal.|
Public Methods (see also Protected Methods)
|Copy||Returns a new T:Microsoft.IdentityModel.Claims.ClaimsPrincipal object copied from this object|
|Equals||Overloaded. (Inherited from Object)|
|GetHashCode||(Inherited from Object)|
|GetType||(Inherited from Object)|
|IsInRole||This class interprets IsInRole as the reflection of whether this principal possesses a claim specified by a configured list. The claim value has no bearing on the result.|
|ReferenceEquals||(Inherited from Object)|
|SelectPrimaryIdentity||This method iterates through the collection of ClaimsIdentities and determines which identity must be used as the primary one.|
|ToString||(Inherited from Object)|
|Finalize||(Inherited from Object)|
|MemberwiseClone||(Inherited from Object)|
Copyright © 2008 by Microsoft Corporation. All rights reserved.