Group.Users property
Gets a collection of user objects that represents all the users in the group.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property Users As UserCollection
Get
'Usage
Dim instance As Group
Dim value As UserCollection
value = instance.Users
public UserCollection Users { get; }
Property value
Type: Microsoft.SharePoint.Client.UserCollection
A UserCollection object that represents the users.
Exceptions
Exception | Condition |
---|---|
SPException | Cannot initialize group data. Error code: -1. |