C# Class SenseNet.ContentRepository.Storage.Security.PermissionSet

Inheritance: PermissionBits
ファイルを表示 Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
ToEntry ( int nodeId ) : SecurityEntry

Method Details

Parse() public static method

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.
return PermissionSet

PermissionSet() public method

public PermissionSet ( int principalId, bool propagates, PermissionValue values ) : System
principalId int
propagates bool
values PermissionValue
return System

PermissionSet() public method

public PermissionSet ( int principalId, bool propagates, int allowBits, int denyBits ) : System
principalId int
propagates bool
allowBits int
denyBits int
return System