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

Exibir arquivo Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
AggregateEffectiveValues ( List principals, int &allow, int &deny ) : void
AggregateLevelOnlyValues ( List principals, int &allow, int &deny ) : void
PermissionInfo ( ) : System

Private Methods

Method Description
BuildAcl ( SnAccessControlList acl ) : SnAccessControlList
GetAllEntries ( ) : IEnumerable
GetEffectedPrincipals ( ) : List
GetEffectiveEntries ( bool withLevelOnly ) : IEnumerable
GetExplicitEntries ( ) : IEnumerable
GetExplicitEntry ( int identity ) : SecurityEntry
Parse ( string src ) : PermissionInfo

Format: [inheritedbit] path space* (| permSet)* inheritedbit: '+' (inherited) or '-' (breaked). path: lowercase string permSet: see PermissionSet.Parse Head info and PermissionSets are separated by '|' For example: "+/root/folder|+1345__+__|+0450__+__"

SearchFirstPath ( string aclPath, PermissionInfo basePermInfo, PermissionSet permSet, int mask, bool deny ) : string

Method Details

AggregateEffectiveValues() public method

public AggregateEffectiveValues ( List principals, int &allow, int &deny ) : void
principals List
allow int
deny int
return void

AggregateLevelOnlyValues() public method

public AggregateLevelOnlyValues ( List principals, int &allow, int &deny ) : void
principals List
allow int
deny int
return void

PermissionInfo() public method

public PermissionInfo ( ) : System
return System