Interface IPermissionService
- Namespace
- Dynamicweb.Security
- Assembly
- Dynamicweb.Security.dll
Defines operations for getting user permission data
[InheritedExport]
public interface IPermissionService
Methods
GetPermissionForUser(PermissionObjectType, int, PagePermissionLevels)
IDictionary<int, PagePermissionAccess> GetPermissionForUser(PermissionObjectType permissionObjectType, int userId, PagePermissionLevels level)
Parameters
permissionObjectType
PermissionObjectTypeuserId
intlevel
PagePermissionLevels
Returns
GetPermissionForUser(PermissionObjectType, int, int, string, PagePermissionLevels)
PagePermissionAccess GetPermissionForUser(PermissionObjectType permissionObjectType, int userId, int permissionObjectId, string permissionXml, PagePermissionLevels level)
Parameters
permissionObjectType
PermissionObjectTypeuserId
intpermissionObjectId
intpermissionXml
stringlevel
PagePermissionLevels