| SanteDBClaimsPrincipalHasClaim Method |
Determines whether this instance has claim the specified predicate.
Namespace:
SanteDB.Core.Security.Claims
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public bool HasClaim(
Func<IClaim, bool> predicate
)
Public Function HasClaim (
predicate As Func(Of IClaim, Boolean)
) As Boolean
public:
virtual bool HasClaim(
Func<IClaim^, bool>^ predicate
) sealed
abstract HasClaim :
predicate : Func<IClaim, bool> -> bool
override HasClaim :
predicate : Func<IClaim, bool> -> bool
Parameters
- predicate
- Type: SystemFuncIClaim, Boolean
Predicate.
Return Value
Type:
Booleantrue if this instance has claim the specified predicate; otherwise,
false.
Implements
IClaimsPrincipalHasClaim(FuncIClaim, Boolean)See Also