Table of Contents

Class AreaPermissionService

Namespace
Dynamicweb.Content
Assembly
Dynamicweb.dll
public class AreaPermissionService : IPermissionService<Area>
Inheritance
AreaPermissionService
Implements
Inherited Members

Methods

GetPermissionForGroup(int, Area, PagePermissionLevels)

public PagePermissionAccess GetPermissionForGroup(int groupId, Area permissionObject, PagePermissionLevels level)

Parameters

groupId int
permissionObject Area
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForGroup(int, Area, PagePermissionLevels, bool)

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

Parameters

groupId int
permissionObject Area
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(User, Area, PagePermissionLevels)

public PagePermissionAccess GetPermissionForUser(User user, Area permissionObject, PagePermissionLevels level)

Parameters

user User
permissionObject Area
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(User, Area, PagePermissionLevels, bool)

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

Parameters

user User
permissionObject Area
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(int, Area, PagePermissionLevels)

public PagePermissionAccess GetPermissionForUser(int userId, Area permissionObject, PagePermissionLevels level)

Parameters

userId int
permissionObject Area
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(int, Area, PagePermissionLevels, bool)

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

Parameters

userId int
permissionObject Area
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess
To top