Partager via


Web.AllowMasterPageEditingForCurrentUser - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AllowMasterPageEditingForCurrentUser As Boolean
    Get
'Utilisation
Dim instance As Web
Dim value As Boolean

value = instance.AllowMasterPageEditingForCurrentUser
public bool AllowMasterPageEditingForCurrentUser { get; }

Valeur de propriété

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

Remarques

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

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms