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.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public bool HasClaim(
	Func<IClaim, bool> predicate
)

Parameters

predicate  FuncIClaim, Boolean
Predicate.

Return Value

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

Implements

IClaimsPrincipalHasClaim(FuncIClaim, Boolean)
See Also