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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property Users As SPUserCollection
    Get
'Usage
Dim instance As SPGroup
Dim value As SPUserCollection

value = instance.Users
[ClientCallableAttribute]
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