Condividi tramite


SPUser.IsDomainGroup Property

Gets a Boolean value that indicates whether the user is a domain group.

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

Syntax

'Declaration
Public ReadOnly Property IsDomainGroup As Boolean
    Get
'Usage
Dim instance As SPUser
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the user is a domain group; otherwise, false.

See Also

Reference

SPUser Class

SPUser Members

Microsoft.SharePoint Namespace