Class DslUser
Namespace: Casewhere.Runtime.DSL
Assembly: Casewhere.Runtime.dll
public class DslUser
Inheritance
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
Username
public string Username { get; }
Property Value
WorkerSite
public DslWorkerSite WorkerSite { get; }
Property Value
this[string]
public ClaimValueList this[string key] { get; }
Property Value
Methods
Contains(string, string)
public bool Contains(string claimType, string value)
Parameters
claimType
string
value
string
Returns
GetClaim(string)
public string GetClaim(string claimType)
Parameters
claimType
string
Returns
Has(string)
public bool Has(string claimType)
Parameters
claimType
string