listGroups( )


Retrieves up to 100 groups.

Default sorts by _createdDate in descending order. For SECRET groups, only group admins and group members can see a list of groups and their content.

Note: This function's parameters are positional, and must be specified in the sequence shown in the syntax below. When specifying a parameter, use null as a placeholder for any unspecified parameters. For example, to specify limit only, call listGroups(paging, null).

Method Declaration
Copy
Method Parameters
optionsListGroupsOptions

Limit and offset options.

Returns
Return Type:Promise<ListGroupsResponse>
Errors

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

Did this help?