Class UserInUserRolesCondition
Matches when one or all the user roles specified in UserRoleIds are assigned to the user retrieved from the path UserIdPath
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class UserInUserRolesCondition : BusinessRuleCondition
Properties
MatchMode
Decide if all the user roles must be assigned to the user or only one of them.
Declaration
public ConditionMatchMode MatchMode { get; set; }
Property Value
ConditionMatchMode
|
UserIdPath
JSON path to the field containing the id of the user that needs to be checked.
Declaration
public string UserIdPath { get; set; }
Property Value
System.String
|
UserRoleIds
A static list of user role ids that will checked: depending on MatchMode all the user roles or only one of them must be assigned to the user.
Declaration
public ICollection<string> UserRoleIds { get; set; }
Property Value
System.Collections.Generic.ICollection<System.String>
|
Methods
FromJson(String)
Declaration
public static UserInUserRolesCondition FromJson(string data)
Parameters
System.String
data
|
Returns
UserInUserRolesCondition
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|