getJoinedGroupsByRole

public abstract void getJoinedGroupsByRole(GroupMemberRole role, PagingQueryOption option, IRongCoreCallback.PageResultCallback<GroupInfo> callback)

Paginated query for the list of groups a user belongs to

Parameters

role

The user's role in the group.

option

Pagination request parameters. Refer to PagingQueryOption, which includes the page token (optional, defaults to the first page if not provided), the number of items per page (maximum 100), and whether the query is in ascending order (defaults to descending).

callback

The result is returned through this callback upon completion. Note: This interface returns the total number of items in the paginated data.