C# Класс Rock.Security.AuthRule

Lightweight class to store if a particular user or role is allowed or denied access
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

AuthRule() публичный Метод

Initializes a new instance of the AuthRule class.
public AuthRule ( Rock.CMS.Auth auth ) : System
auth Rock.CMS.Auth The auth.
Результат System

AuthRule() публичный Метод

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.
Результат System