SPWebApplication.AllowMasterPageEditing property
SharePoint 2013
Gets or sets a Boolean value that specifies whether users are allowed to edit master pages.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.BooleanBoolean
true if users can edit master pages; otherwise, false. The default value is true.
| Exception | Condition |
|---|---|
| SecurityException | The current user is not a farm administrator. |