Skip to contents

Adds a user to Tableau Server or Tableau and assigns the user to the specified site.

Usage

add_user_to_site(
  tableau,
  site_role,
  user_name,
  auth_setting = NULL,
  api_version = 3.19
)

Arguments

tableau

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

site_role

The site role to assign to the user.

user_name

The name of the user to add.

auth_setting

The authentication type for the user.

api_version

The API version to use (default: 3.19).

Value

The response from the API.