Table of Contents

Class PagePermissions

Namespace
Dynamicweb.Modules.UserManagement
Assembly
Dynamicweb.dll
public class PagePermissions
Inheritance
PagePermissions
Inherited Members

Constructors

PagePermissions(Page)

public PagePermissions(Page page)

Parameters

page Page

Properties

Backend

public PagePermissionCollection Backend { get; }

Property Value

PagePermissionCollection

Frontend

public PagePermissionCollection Frontend { get; }

Property Value

PagePermissionCollection

this[PagePermissionLevels]

public PagePermissionCollection this[PagePermissionLevels level] { get; }

Parameters

level PagePermissionLevels

Property Value

PagePermissionCollection

Methods

CanEditPage(int)

Determines whether the page with the specified id, can be edited by the current user
public static bool CanEditPage(int pageId)

Parameters

pageId int
the id of the page to edit

Returns

bool
True if the page can be edited by the current user, otherwise false

GetPagePermissionsWithInheritance()

public PagePermissions GetPagePermissionsWithInheritance()

Returns

PagePermissions

LoadFromXML(string)

[Obsolete("Use LoadFromXmlString instead")]
public void LoadFromXML(string xml)

Parameters

xml string

LoadFromXmlString(string)

public void LoadFromXmlString(string xml)

Parameters

xml string

ToString()

public override string ToString()

Returns

string
To top