Table of Contents

Class DslUser

Namespace: Casewhere.Runtime.DSL
Assembly: Casewhere.Runtime.dll

public class DslUser

Inheritance

objectDslUser

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DslUser>(DslUser)

Constructors

DslUser(ICwRuntimePrincipal)

public DslUser(ICwRuntimePrincipal cwPrincipal)

Parameters

cwPrincipal ICwRuntimePrincipal

Properties

UserId

public string UserId { get; }

Property Value

string

Username

public string Username { get; }

Property Value

string

WorkerSite

public DslWorkerSite WorkerSite { get; }

Property Value

DslWorkerSite

this[string]

public ClaimValueList this[string key] { get; }

Property Value

ClaimValueList

Methods

Contains(string, string)

public bool Contains(string claimType, string value)

Parameters

claimType string

value string

Returns

bool

GetClaim(string)

public string GetClaim(string claimType)

Parameters

claimType string

Returns

string

Has(string)

public bool Has(string claimType)

Parameters

claimType string

Returns

bool