PermissionContext enumeration

Specifies the context object to which a permission mask is applied.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Enumeration PermissionContext
'Usage
Dim instance As PermissionContext
public enum PermissionContext

Members

Member name Description
CurrentSite Apply a permission mask to the current site.
CurrentList Apply a permission mask to the current list.
CurrentItem Apply a permission mask to the current list or document library item.
RootSite Apply a permission mask to the root site of the site collection.
CurrentFolder Apply a permission mask to the current folder.

See also

Reference

Microsoft.SharePoint.Utilities namespace