C# Class Rock.Security.AuthRule

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

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of the AuthRule class.
public AuthRule ( Rock.CMS.Auth auth ) : System
auth Rock.CMS.Auth The auth.
Résultat System

AuthRule() public méthode

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.
Résultat System