Skip to main content
Fetch the members of a group with filtering by scope, online status, and search keyword. Results are returned as GroupMember objects, which extend User with group-specific fields like scope.

Retrieve the List of Group Members

Use GroupMembersRequestBuilder to fetch members of a Group. The GUID must be specified in the constructor. Fetching using this builder will return GroupMember objects. GroupMember extends User and adds group-specific fields.

Set Limit

Sets the number of members to fetch per request.

Set Search Keyword

Filters members by a search string.

Set Scopes

Filters members by one or more scopes (admin, moderator, participant).
Relevant fields to access on returned members:

Set Status

Filters members by online status: If not set, returns all members regardless of status.
After configuring the builder, call build() to create the request, then fetchNext() to retrieve members. Call fetchNext() repeatedly on the same instance to paginate.
The fetchNext() method returns an array of GroupMember objects. GroupMember extends User and adds group-specific fields.

Next Steps

Add Members

Add users to a group programmatically

Kick & Ban Members

Remove or ban members from a group

Change Member Scope

Update member roles within a group

Retrieve Groups

Fetch group lists and group details