다음을 통해 공유


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