Returns the list of groups or events in which a user is a member.
This method can be called without an access token.
Parameters
user_id
integer
(positive)
User identifier for which to return groups. Current user ID by default, required if not using a token.
filter
string
Comma-separated list of filters determining what kinds of communities to return. Possible values:
admin– where they are an administratormoder– where they are a moderator or an administratorgroups– only return groupsevents– only return events
Events and filtering by admin level require a token and only apply for the current user and require the groups:read permission.
fields
string
Comma-separated list of group profile fields to return.
offset
integer
(non-negative)
Offset into the group list for pagination.
count
integer
(1..1000)
How many groups to return.
By default 100.
Result
A paginated list of group identifiers.
If fields were specified, a paginated list of group objects.