AllowMasterPageEditingForCurrentUser property
Collapse the table of content
Expand the table of content

SPWeb.AllowMasterPageEditingForCurrentUser property

A Boolean value that specifies whether the current user is allowed to edit master pages.

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

public bool AllowMasterPageEditingForCurrentUser { get; }

Property value

Type: System.Boolean

The default value of this property is false but is true if the current user is a site administrator.

© 2015 Microsoft