Partilhar via


SPPrincipalInfo.IsSharePointGroup Property

Gets a Boolean value that indicates whether the principal is a SharePoint group.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property IsSharePointGroup As Boolean
    Get
'Usage
Dim instance As SPPrincipalInfo
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the principal is a SharePoint group; otherwise, false.

See Also

Reference

SPPrincipalInfo Class

SPPrincipalInfo Members

Microsoft.SharePoint.Utilities Namespace