PermissionContext Enumeration

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

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration PermissionContext
'Usage
Dim instance As PermissionContext
[SubsetCallableTypeAttribute]
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