SanteDBClaimsPrincipal Methods |
The SanteDBClaimsPrincipal type exposes the following members.
Name | Description | |
---|---|---|
AddIdentity |
Add identity
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindAll |
Find all matching
| |
FindFirst |
Finds the specified claim.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HasClaim |
Determines whether this instance has claim the specified predicate.
| |
IsInRole |
Determines whether the current principal belongs to the specified role.
| |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TryGetClaimValue |
Try to get the claim value
|
Name | Description | |
---|---|---|
ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) | |
GetClaimValue |
Get the specified claim
(Defined by SanteDBClaimTypes.) | |
GetFirstClaimValue |
Gets the first value of a matching claim type from an IClaimsPrincipal searching in the order specified in the parameters.
(Defined by SecurityExtensions.) | |
GetGrantedPolicies |
Gets the granted policies from the specified claims principal
(Defined by SecurityExtensions.) |