Compartilhar via


Group.Users Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Users As UserCollection
    Get
'Usage
Dim instance As Group
Dim value As UserCollection

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

See Also

Reference

Group Class

Group Members

Microsoft.SharePoint.Client Namespace