SPWebApplication.AllowMasterPageEditing Property
SharePoint 2010
Gets or sets a Boolean value that specifies whether users are allowed to edit master pages.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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. |