Свойство Web.AllowMasterPageEditingForCurrentUser
Gets a value that specifies whether the current user is allowed to edit the master page.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public ReadOnly Property AllowMasterPageEditingForCurrentUser As Boolean
Get
'Применение
Dim instance As Web
Dim value As Boolean
value = instance.AllowMasterPageEditingForCurrentUser
public bool AllowMasterPageEditingForCurrentUser { get; }
Значение свойства
Тип: 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.