View source: R/get_server_user_favorites.R
| get_server_user_favorites | R Documentation |
Retrieves a list of favorite projects, data sources, views, workbooks, and flows for a specific user on Tableau Server.
get_server_user_favorites(
tableau,
user_id,
api_version = 3.4,
page_size = 100,
page_number = 1
)
tableau |
A list containing the Tableau authentication variables: 'base_url', 'token', 'user_id', and 'site_id'. |
user_id |
The ID of the user for which you want to retrieve the favorites. |
api_version |
The API version to use (default: 3.4). |
page_size |
The number of items to return in one response (default: 100). |
page_number |
The offset for paging (default: 1). |
A data frame containing the favorites for the specified user.
Other Tableau REST API:
add_tags_to_view(),
add_tags_to_workbook(),
add_user_to_group(),
add_user_to_site(),
authenticate_PAT(),
authenticate_server(),
create_group(),
delete_group(),
download_datasource(),
download_filtered_tableau_image(),
download_tableau_crosstab_excel(),
download_tableau_data(),
download_workbooks_server(),
download_workbooks_server_pdf(),
download_workbooks_server_powerpoint(),
get_groups_for_user(),
get_mobile_security_settings(),
get_server_connected_apps(),
get_server_datasources(),
get_server_groups(),
get_server_info(),
get_server_jobs(),
get_server_projects(),
get_server_refresh_tasks(),
get_server_schedules(),
get_server_users(),
get_server_views(),
get_server_workbooks(),
get_table_assets(),
get_users_in_group(),
query_user_on_site(),
remove_user_from_group(),
remove_user_from_site(),
run_extract_refresh_task(),
update_data_source_now(),
update_group(),
update_user(),
update_workbook_now()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.