 | SanteDBClaimsPrincipalHasClaim Method |
Determines whether this instance has claim the specified predicate.
Namespace: SanteDB.Core.Security.ClaimsAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic 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 FuncIClaim, Boolean
- Predicate.
Return Value
Booleantrue if this instance has claim the specified predicate; otherwise,
false.
Implements
IClaimsPrincipalHasClaim(FuncIClaim, Boolean)
See Also