共用方式為


SPPrincipalInfo.IsSharePointGroup property

取得布林值,這個值,指出主體是否為 SharePoint 群組。

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

Syntax

'宣告
Public ReadOnly Property IsSharePointGroup As Boolean
    Get
'用途
Dim instance As SPPrincipalInfo
Dim value As Boolean

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

Property value

Type: System.Boolean
true如果主體是 SharePoint 群組 ;否則, false。

請參閱

參照

SPPrincipalInfo class

SPPrincipalInfo members

Microsoft.SharePoint.Utilities namespace