SPSite.AllowDesigner Property
SharePoint 2010
Used to assign or retrieve the Site Collection Allow Designer property.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: System.BooleanA 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