listUserGroups()
Overview
public array function listUserGroups(
required string userId
, boolean includeCatchAll = true
)
Returns an array of user group IDs that the user is a member of
Arguments
Name | Type | Required | Description |
---|---|---|---|
userId | string | Yes | ID of the user whose groups we wish to get |
includeCatchAll | boolean | No (default=true) | Whether or not to include the 'catch all' group |