Web.AllowMasterPageEditingForCurrentUser property

Gets a value that specifies whether the current user is allowed to edit the master page.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public bool AllowMasterPageEditingForCurrentUser { get; }

Property value

Type: System.Boolean
Returns Booleantrue if the current user is allowed to edit the master page; otherwise, returns false.

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

Show: