Click or drag to resize

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
)

Parameters

predicate
Type: SystemFuncIClaim, Boolean
Predicate.

Return Value

Type: Boolean
true if this instance has claim the specified predicate; otherwise, false.

Implements

IClaimsPrincipalHasClaim(FuncIClaim, Boolean)
See Also