Returns the list of group members.
This method can be called without an access token.
Parameters
group_id
integer
(positive)
Group identifier.
sort
enum
How to sort the returned users.
id_asc– By identifiers, ascending.id_desc– By identifiers, descending.random– Random. Theoffsetparameter is ignored in this mode.time_asc– By join time, ascending (only available when called with an access token of a group manager).time_desc– By join time, descending (only available when called with an access token of a group manager).
By default id_asc.
offset
integer
(non-negative)
Offset into the member list for pagination.
count
integer
(1..1000)
How many members to return.
By default 100.
fields
string
Comma-separated list of user profile fields to be returned.
filter
enum
How to filter the group members. By default, all members are returned for groups, and “sure” attendees for events.
friends– Only return current user’s friends who are members of this group.managers– Only return group managers and their roles (only available when called with an access token of a group manager).offsetandcountparameters are ignored in this mode.unsure– Only return event attendees who aren’t sure.unsure_friends– Only return current user’s friends who aren’t sure that they’ll attend this event.
Result
A paginated list of user identifiers.
If any fields were passed, a paginated list of user objects.
If filter is managers, the user objects will have an extra field role: creator, administrator, or moderator. If no fields were passed, the list will contain objects with just id and role.