共用方式為


SPPolicyRole.IsSiteAdmin property

取得或設定 Boolean 值,以指定是否原則角色授與網站集合管理員狀態。

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

Syntax

'宣告
Public Property IsSiteAdmin As Boolean
    Get
    Set
'用途
Dim instance As SPPolicyRole
Dim value As Boolean

value = instance.IsSiteAdmin

instance.IsSiteAdmin = value
public bool IsSiteAdmin { get; set; }

Property value

Type: System.Boolean
若要授與網站集合管理員狀態 ; true否則,請false。

請參閱

參照

SPPolicyRole class

SPPolicyRole members

Microsoft.SharePoint.Administration namespace