共用方式為


Web.AllowMasterPageEditingForCurrentUser 屬性

取得值,指定是否允許目前的使用者編輯主版頁面。

命名空間:  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
如果目前的使用者可以編輯的主版頁面;,傳回Booleantrue否則,傳回false。

備註

此屬性的預設值為 false,但如果目前的使用者是網站管理員為 true。

請參閱

參照

Web 類別

Web 成員

Microsoft.SharePoint.Client 命名空間