Click or drag to resize

IIdentityApiGetClaims Method

Get all values of a given claim in the current user claim collection.

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
C#
IList<string> GetClaims(
	string type
)

Parameters

type  String
Claim type

Return Value

IListString
A list of claims of the specified type
Example
C#
var identityApi = ctx.Use<IIdentityApi>();
var claimType = "ClaimType";
var claims = identityApi.GetClaims(claimType);
See Also