共用方式為


SPSite.UserIsSiteAdminInSystem property

目前的使用者是否是網站集合系統管理員在系統 (唯讀模式前修剪套用)

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

Syntax

'宣告
Public ReadOnly Property UserIsSiteAdminInSystem As Boolean
    Get
'用途
Dim instance As SPSite
Dim value As Boolean

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

Property value

Type: System.Boolean

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace