Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AllowMasterPageEditing property
Collapse the table of content
Expand the table of content

SPWebApplication.AllowMasterPageEditing property

Gets or sets a Boolean value that specifies whether users are allowed to edit master pages.

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

public bool AllowMasterPageEditing { get; set; }

Property value

Type: System.Boolean
Boolean
true if users can edit master pages; otherwise, false. The default value is true.

ExceptionCondition
SecurityException

The current user is not a farm administrator.

This property is not meant to serve as a security feature, but as a convenience for administration of the Web application.

Show:
© 2015 Microsoft