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)

Public ReadOnly Property AllowMasterPageEditingForCurrentUser As Boolean
Dim instance As SPWeb
Dim value As Boolean

value = instance.AllowMasterPageEditingForCurrentUser

Property value

Type: System.Boolean

The default value of this property is false but is true if the current user is a site administrator.