C# Класс SenseNet.ContentRepository.Storage.Security.PermissionSet

Наследование: PermissionBits
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Parse ( string src ) : PermissionSet

Format: [inheritbit] principalid permissionflags inheritbit: '+' (inherit) or '-' (not inherit). principalid: max 10 number chars (e.g. 0000000647) permissionflags: '_' (not defined), '+' (allow) or '-' (deny) The permissionflags will be aligned right. For example: "_-_+" == "_____________________________-_+" and it means: OpenMinor deny, See allow, other permissions are not defined.

PermissionSet ( int principalId, bool propagates, PermissionValue values ) : System
PermissionSet ( int principalId, bool propagates, int allowBits, int denyBits ) : System

Приватные методы

Метод Описание
ToEntry ( int nodeId ) : SecurityEntry

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

Parse() публичный статический Метод

Format: [inheritbit] principalid permissionflags inheritbit: '+' (inherit) or '-' (not inherit). principalid: max 10 number chars (e.g. 0000000647) permissionflags: '_' (not defined), '+' (allow) or '-' (deny) The permissionflags will be aligned right. For example: "_-_+" == "_____________________________-_+" and it means: OpenMinor deny, See allow, other permissions are not defined.
public static Parse ( string src ) : PermissionSet
src string Source string with the defined format.
Результат PermissionSet

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

public PermissionSet ( int principalId, bool propagates, PermissionValue values ) : System
principalId int
propagates bool
values PermissionValue
Результат System

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

public PermissionSet ( int principalId, bool propagates, int allowBits, int denyBits ) : System
principalId int
propagates bool
allowBits int
denyBits int
Результат System