Skip to contents

Gets a list of groups that the specified user is a member of.

Usage

get_groups_for_user(
  tableau,
  api_version = 3.19,
  user_id,
  page_size = 100,
  page_number = 1,
  include_metadata = FALSE
)

Arguments

tableau

A list containing the Tableau authentication variables: `base_url`, `token`, `user_id`, and `site_id`.

api_version

The API version to use (default: 3.19).

user_id

The ID of the user whose group memberships are listed.

page_size

(Optional) The number of items to return in one response. The minimum is 1. The maximum is 1000. The default is 100. For more information, see Paginating Results.

page_number

(Optional) The offset for paging. The default is 1. For more information, see Paginating Results.

include_metadata

Logical indicating whether to include metadata columns in the result (default: FALSE).

Value

A table containing the groups for the specified user.