Class PagePermissionService
- Namespace
- Dynamicweb.Content
- Assembly
- Dynamicweb.dll
public class PagePermissionService : IPermissionService<Page>
- Inheritance
-
PagePermissionService
- Implements
-
- Inherited Members
-
Methods
GetPermissionForGroup(int, Page, PagePermissionLevels)
public PagePermissionAccess GetPermissionForGroup(int groupId, Page permissionObject, PagePermissionLevels level)
Parameters
groupId
int
permissionObject
Page
level
PagePermissionLevels
Returns
- PagePermissionAccess
GetPermissionForGroup(int, Page, PagePermissionLevels, bool)
public PagePermissionAccess GetPermissionForGroup(int groupId, Page permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
groupId
int
permissionObject
Page
level
PagePermissionLevels
includeEveryone
bool
Returns
- PagePermissionAccess
GetPermissionForUser(User, Page, PagePermissionLevels)
public PagePermissionAccess GetPermissionForUser(User user, Page permissionObject, PagePermissionLevels level)
Parameters
user
User
permissionObject
Page
level
PagePermissionLevels
Returns
- PagePermissionAccess
GetPermissionForUser(User, Page, PagePermissionLevels, bool)
public PagePermissionAccess GetPermissionForUser(User user, Page permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
user
User
permissionObject
Page
level
PagePermissionLevels
includeEveryone
bool
Returns
- PagePermissionAccess
GetPermissionForUser(int, Page, PagePermissionLevels)
public PagePermissionAccess GetPermissionForUser(int userId, Page permissionObject, PagePermissionLevels level)
Parameters
userId
int
permissionObject
Page
level
PagePermissionLevels
Returns
- PagePermissionAccess
GetPermissionForUser(int, Page, PagePermissionLevels, bool)
public PagePermissionAccess GetPermissionForUser(int userId, Page permissionObject, PagePermissionLevels level, bool includeEveryone)
Parameters
userId
int
permissionObject
Page
level
PagePermissionLevels
includeEveryone
bool
Returns
- PagePermissionAccess