| IClaimsPrincipalHasClaim Method |
Determine if the principal has a claim
Namespace:
SanteDB.Core.Security.Claims
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax bool HasClaim(
Func<IClaim, bool> predicate
)
Function HasClaim (
predicate As Func(Of IClaim, Boolean)
) As Boolean
bool HasClaim(
Func<IClaim^, bool>^ predicate
)
abstract HasClaim :
predicate : Func<IClaim, bool> -> bool
Parameters
- predicate
- Type: SystemFuncIClaim, Boolean
[Missing <param name="predicate"/> documentation for "M:SanteDB.Core.Security.Claims.IClaimsPrincipal.HasClaim(System.Func{SanteDB.Core.Security.Claims.IClaim,System.Boolean})"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:SanteDB.Core.Security.Claims.IClaimsPrincipal.HasClaim(System.Func{SanteDB.Core.Security.Claims.IClaim,System.Boolean})"]
See Also