getGroupsForUsers function

Returns a list of the communities for the specified users

Returns a list of the communities for the specified users

getGroupsForUsers( users, extended = "", filter = "", fields = "", progress_bar = FALSE, v = getAPIVersion() )

Arguments

  • users: A list of users
  • extended: 1 - to return complete information about a user's communities; 0 - to return a list of community IDs without any additional fields (default)
  • filter: Types of communities to return: admin, editor, moder, groups, publics, events
  • fields: List of additional fields to be returned
  • progress_bar: Display progress bar
  • v: Version of API

Examples

## Not run: members <- getGroupsForUsers(c(me(), 123456), extended = 1, fields='city', progress_bar = TRUE) ## End(Not run)
  • Maintainer: Dmitriy Sorokin
  • License: GPL-3
  • Last published: 2020-09-29