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

AuthRule() public method

Initializes a new instance of the AuthRule class.
public AuthRule ( Rock.CMS.Auth auth ) : System
auth Rock.CMS.Auth The auth.
return System
        public AuthRule( Auth auth )
            : this()
        {
            Id = auth.Id;
            EntityId = auth.EntityId;
            AllowOrDeny = auth.AllowOrDeny == "A" ? 'A' : 'D';
            SpecialRole = auth.SpecialRole;
            PersonId = auth.PersonAlias != null ? auth.PersonAlias.PersonId : ( int? ) null;
            PersonAliasId = auth.PersonAliasId;
            GroupId = auth.GroupId;
            Order = auth.Order;
        }

Same methods

AuthRule::AuthRule ( int id, int entityId, string allowOrDeny, SpecialRole specialRole, int personId, int personAliasId, int groupId, int order ) : System
AuthRule