Click or drag to resize

IClaimsPrincipal Methods

The IClaimsPrincipal type exposes the following members.

Methods
 NameDescription
Public methodAddIdentity Add an identity
Public methodFindAll Find all claims
Public methodFindFirst Find all claims
Public methodHasClaim Determine if the principal has a claim
Public methodIsInRoleDetermines whether the current principal belongs to the specified role.
(Inherited from IPrincipal)
Public methodTryGetClaimValue Find all claims
Top
Extension Methods
 NameDescription
Public Extension MethodGetClaimValue Get the specified claim
(Defined by SanteDBClaimTypes)
Public Extension MethodGetFirstClaimValue Gets the first value of a matching claim type from an IClaimsPrincipal searching in the order specified in the parameters.
(Defined by SecurityExtensions)
Public Extension MethodGetGrantedPolicies Gets the granted policies from the specified claims principal
(Defined by SecurityExtensions)
Public Extension MethodIsElevatedPrincipal True if elevated principal
(Defined by ExtensionMethods)
Public Extension MethodIsNonInteractivePrincipal True if the principal is not an interactive (user) principal
(Defined by ExtensionMethods)
Top
See Also