Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPSite.AllowMasterPageEditing property

Used to assign or retrieve the Site Collection property that allows master page editing.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute]
public bool AllowMasterPageEditing { get; set; }

Property value

Type: System.Boolean
A Boolean value depending on what the behavior should be for the current user. The default value is false if the property is not disabled on the web application.
Caution noteCaution

A UnauthorizedAccessException is thrown when attempting to set the property if either the user is not a Site Collection administrator or the setting is disabled at the web application level.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.