Rock.Security.AuthRule.AuthRule C# (CSharp) Method

AuthRule() public method

Initializes a new instance of the AuthRule class.
public AuthRule ( int id, int entityId, string allowOrDeny, SpecialRole specialRole, int personId, int personAliasId, int groupId, int order ) : System
id int The id.
entityId int The entity id.
allowOrDeny string Allow or Deny ("A" or "D").
specialRole SpecialRole The special role.
personId int The person identifier.
personAliasId int The person alias id.
groupId int The group id.
order int The order.
return System
        public AuthRule( int id, int? entityId, string allowOrDeny, SpecialRole specialRole, int? personId, int? personAliasId, int? groupId, int order )
            : this()
        {
            Id = id;
            EntityId = entityId;
            AllowOrDeny = allowOrDeny == "A" ? 'A' : 'D';
            SpecialRole = specialRole;
            PersonId = personId;
            PersonAliasId = personAliasId;
            GroupId = groupId;
            Order = order;
        }

Same methods

AuthRule::AuthRule ( Rock.CMS.Auth auth ) : System
AuthRule