SPWeb.AllowMasterPageEditingForCurrentUser Property
A Boolean value that specifies whether the current user is allowed to edit master pages.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property AllowMasterPageEditingForCurrentUser As Boolean
Get
'Usage
Dim instance As SPWeb
Dim value As Boolean
value = instance.AllowMasterPageEditingForCurrentUser
[ClientCallableAttribute]
public bool AllowMasterPageEditingForCurrentUser { get; }
Property Value
Type: System.Boolean
Boolean
Remarks
The default value of this property is false but is true if the current user is a site administrator.