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
Methods
GetPermissionForGroup(int, T, PagePermissionLevels)
PagePermissionAccess GetPermissionForGroup(int groupId, T permissionObject, PagePermissionLevels level)
Parameters
groupId
intpermissionObject
Tlevel
PagePermissionLevels
Returns
GetPermissionForGroup(int, T, PagePermissionLevels, bool)
PagePermissionAccess GetPermissionForGroup(int groupId, T permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
groupId
intpermissionObject
Tlevel
PagePermissionLevelsincludeEveryone
bool
Returns
GetPermissionForUser(User, T, PagePermissionLevels)
PagePermissionAccess GetPermissionForUser(User user, T permissionObject, PagePermissionLevels level)
Parameters
user
UserpermissionObject
Tlevel
PagePermissionLevels
Returns
GetPermissionForUser(User, T, PagePermissionLevels, bool)
PagePermissionAccess GetPermissionForUser(User user, T permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
user
UserpermissionObject
Tlevel
PagePermissionLevelsincludeEveryone
bool
Returns
GetPermissionForUser(int, T, PagePermissionLevels)
PagePermissionAccess GetPermissionForUser(int userId, T permissionObject, PagePermissionLevels level)
Parameters
userId
intpermissionObject
Tlevel
PagePermissionLevels
Returns
GetPermissionForUser(int, T, PagePermissionLevels, bool)
PagePermissionAccess GetPermissionForUser(int userId, T permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
userId
intpermissionObject
Tlevel
PagePermissionLevelsincludeEveryone
bool