Table of Contents

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 PermissionObjectType
userId int
level PagePermissionLevels

Returns

IDictionary<int, PagePermissionAccess>

GetPermissionForUser(PermissionObjectType, int, int, string, PagePermissionLevels)

PagePermissionAccess GetPermissionForUser(PermissionObjectType permissionObjectType, int userId, int permissionObjectId, string permissionXml, PagePermissionLevels level)

Parameters

permissionObjectType PermissionObjectType
userId int
permissionObjectId int
permissionXml string
level PagePermissionLevels

Returns

PagePermissionAccess
To top