C# Class Rock.Security.AuthRule

Lightweight class to store if a particular user or role is allowed or denied access
Show file Open project: SparkDevNetwork/Rock Class Usage Examples

Public Methods

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

Initializes a new instance of the AuthRule class.

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

Initializes a new instance of the AuthRule class.

Method Details

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

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