Share via


ConsoleNode.PermissionContext property

Gets or sets the context in which to evaluate the permissions of this ConsoleNode object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overridable Property PermissionContext As PermissionContext
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As PermissionContext

value = instance.PermissionContext

instance.PermissionContext = value
public virtual PermissionContext PermissionContext { get; set; }

Property value

Type: Microsoft.SharePoint.Utilities.PermissionContext
The PermissionContext representing the context in which the permissions should be evaluated.

Remarks

Certain actions, such as Create Page, must be restricted at the site level. Others, such as Edit Page, must be restricted at the level of the current SPListItem object.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace