powered by
Returns a list of the communities for the specified users
getGroupsForUsers( users, extended = "", filter = "", fields = "", progress_bar = FALSE, v = getAPIVersion() )
A list of users
1 - to return complete information about a user's communities; 0 - to return a list of community IDs without any additional fields (default)
Types of communities to return: admin, editor, moder, groups, publics, events
List of additional fields to be returned
Display progress bar
Version of API
# NOT RUN { members <- getGroupsForUsers(c(me(), 123456), extended = 1, fields='city', progress_bar = TRUE) # }
Run the code above in your browser using DataLab