internal AccessControlRule(AccessControlServiceIdentity identity, Right right, bool inherited, RuleGroup group, Rule rule) { this.condition = IdentityReference.CreateServiceIdentityReference(identity); this.right = right; this.inherited = inherited; this.Group = group; this.rule = rule; }
public AccessControlRule AddRule(AccessControlServiceIdentity identity, Right right) { return(AddRule(IdentityReference.CreateServiceIdentityReference(identity), right)); }