Метод | Описание | |
---|---|---|
AddGroup ( IEntityPermission groupPermission ) : void |
Adds group permissions to a folder. If the group already exists then the permissions are merged
|
|
AddSubFolder ( IFolder folder ) : void | ||
AddUser ( IEntityPermission userPermission ) : void |
Adds user permissions to a folder. If the user already exists then the permissions are merged
|
|
DoesUserOrGroupHavePermission ( System.Guid userGuid, IEnumerable |
Return true if user or group has permission to folder
|
|
Folder ( ) : Chaos.Mcm.Data.Dto | ||
GetAncestorFolders ( ) : IEnumerable |
||
GetSubFolders ( ) : IEnumerable |
Метод | Описание | |
---|---|---|
GroupsHavePermissionToFolder ( IEnumerable |
||
InheritParentPermissions ( IFolder folder ) : void |
Adds of Combines the current folders permissions with that of the parent
|
|
PropagatePermissionsToSubFolders ( IFolder folder ) : void |
Triggers all sub folders to inherit their parents permissions
|
|
SetEntityPermission ( FolderPermission>.IDictionary |
||
UserHasPemissionToFolder ( System.Guid userGuid, |
public AddGroup ( IEntityPermission groupPermission ) : void | ||
groupPermission | IEntityPermission | |
Результат | void |
public AddSubFolder ( IFolder folder ) : void | ||
folder | IFolder | |
Результат | void |
public AddUser ( IEntityPermission userPermission ) : void | ||
userPermission | IEntityPermission | |
Результат | void |
public DoesUserOrGroupHavePermission ( System.Guid userGuid, IEnumerable |
||
userGuid | System.Guid | |
groupGuids | IEnumerable |
|
permission | ||
Результат | bool |
public GetAncestorFolders ( ) : IEnumerable |
||
Результат | IEnumerable |