Share via


SPGroup.Users property

Gets a collection of user objects that represents all the users in the group.

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

Syntax

'Declaration
Public ReadOnly Property Users As SPUserCollection
    Get
'Usage
Dim instance As SPGroup
Dim value As SPUserCollection

value = instance.Users
public SPUserCollection Users { get; }

Property value

Type: Microsoft.SharePoint.SPUserCollection
An SPUserCollection object that represents the users.

See also

Reference

SPGroup class

SPGroup members

Microsoft.SharePoint namespace