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

Afficher le fichier Open project: maxpavlov/FlexNet Class Usage Examples

Méthodes publiques

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

Private Methods

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

public AggregateEffectiveValues ( List principals, int &allow, int &deny ) : void
principals List
allow int
deny int
Résultat void

AggregateLevelOnlyValues() public méthode

public AggregateLevelOnlyValues ( List principals, int &allow, int &deny ) : void
principals List
allow int
deny int
Résultat void

PermissionInfo() public méthode

public PermissionInfo ( ) : System
Résultat System