queryGroups( )


Retrieves up to 100 groups, given the provided paging, filtering, and sorting.

Supported fields for filtering:

  • title

Supported fields for sorting:

  • title
  • createdDate
  • membersCount
  • recentActivityDate

For groups with group.privacyStatus set to SECRET, only group admins and group members can see the group and its content.

PROPERTYSUPPORTED FILTERS & SORTING
membersCountascending(),descending()
_createdDateascending(),descending()
Method Declaration
Copy
Method Parameters
optionsQueryGroupsOptions
Returns
Return Type:GroupsQueryBuilder
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?