Table of Contents

Class ParagraphPermissionService

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

Methods

GetPermissionForGroup(Group, Paragraph, PagePermissionLevels, bool)

public PagePermissionAccess GetPermissionForGroup(Group group, Paragraph paragraph, PagePermissionLevels level, bool includeEveryone)

Parameters

group Group
paragraph Paragraph
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForGroup(Group, int, Permissions, PagePermissionLevels)

public PagePermissionAccess GetPermissionForGroup(Group group, int paragraphId, Permissions permissions, PagePermissionLevels level)

Parameters

group Group
paragraphId int
permissions Permissions
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForGroup(Group, int, Permissions, PagePermissionLevels, bool)

public PagePermissionAccess GetPermissionForGroup(Group group, int paragraphId, Permissions permissions, PagePermissionLevels level, bool includeEveryone)

Parameters

group Group
paragraphId int
permissions Permissions
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForGroup(int, Paragraph, PagePermissionLevels)

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

Parameters

groupId int
permissionObject Paragraph
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForGroup(int, Paragraph, PagePermissionLevels, bool)

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

Parameters

groupId int
permissionObject Paragraph
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(User, Paragraph, PagePermissionLevels)

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

Parameters

user User
permissionObject Paragraph
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(User, Paragraph, PagePermissionLevels, bool)

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

Parameters

user User
permissionObject Paragraph
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(User, int, Permissions, PagePermissionLevels, bool)

public PagePermissionAccess GetPermissionForUser(User user, int paragraphId, Permissions permissions, PagePermissionLevels level, bool includeEveryone)

Parameters

user User
paragraphId int
permissions Permissions
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(int, Paragraph, PagePermissionLevels)

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

Parameters

userId int
permissionObject Paragraph
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(int, Paragraph, PagePermissionLevels, bool)

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

Parameters

userId int
permissionObject Paragraph
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess

GetPermissionForUser(int, int, Permissions, PagePermissionLevels)

public PagePermissionAccess GetPermissionForUser(int userId, int paragraphId, Permissions permissions, PagePermissionLevels level)

Parameters

userId int
paragraphId int
permissions Permissions
level PagePermissionLevels

Returns

PagePermissionAccess

GetPermissionForUser(int, int, Permissions, PagePermissionLevels, bool)

public PagePermissionAccess GetPermissionForUser(int userId, int paragraphId, Permissions permissions, PagePermissionLevels level, bool includeEveryone)

Parameters

userId int
paragraphId int
permissions Permissions
level PagePermissionLevels
includeEveryone bool

Returns

PagePermissionAccess
To top