共用方式為


SPWeb.UserIsWebAdmin property

取得布林值,這個值,指出使用者是否為站台的系統管理員 」 網站群組的成員。

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

Syntax

'宣告
Public ReadOnly Property UserIsWebAdmin As Boolean
    Get
'用途
Dim instance As SPWeb
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果使用者是系統管理員網站群組的成員的網站。否則, false。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace