Table of Contents

Interface IPermissionService<T>

Namespace
Dynamicweb.Security
Assembly
Dynamicweb.Security.dll
Defines operations for getting user permission data
[InheritedExport]
public interface IPermissionService<T> where T : IPermissionObject

Type Parameters

T
IPermissionObject

Methods

GetPermissionForGroup(int, T, PagePermissionLevels)

PagePermissionAccess GetPermissionForGroup(int groupId, T permissionObject, PagePermissionLevels level)

Parameters

groupId int
permissionObject T
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForGroup(int, T, PagePermissionLevels, bool)

PagePermissionAccess GetPermissionForGroup(int groupId, T permissionObject, PagePermissionLevels level, bool includeEveryone)

Parameters

groupId int
permissionObject T
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(User, T, PagePermissionLevels)

PagePermissionAccess GetPermissionForUser(User user, T permissionObject, PagePermissionLevels level)

Parameters

user User
permissionObject T
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(User, T, PagePermissionLevels, bool)

PagePermissionAccess GetPermissionForUser(User user, T permissionObject, PagePermissionLevels level, bool includeEveryone)

Parameters

user User
permissionObject T
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(int, T, PagePermissionLevels)

PagePermissionAccess GetPermissionForUser(int userId, T permissionObject, PagePermissionLevels level)

Parameters

userId int
permissionObject T
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(int, T, PagePermissionLevels, bool)

PagePermissionAccess GetPermissionForUser(int userId, T permissionObject, PagePermissionLevels level, bool includeEveryone)

Parameters

userId int
permissionObject T
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess
To top