Click or drag to resize

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
)

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