Accounts

Share:

Description

Lists all accounts to which the user has access.

Usage

1
list_accounts(start.index = NULL, max.results = NULL, token)

Arguments

start.index

integer. An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.

max.results

integer. The maximum number of accounts to include in this response.

token

Token2.0 class object with a valid authorization data.

Value

The Accounts collection is a set of Account resources, each of which describes the account of an authenticated user.

id

Account ID.

kind

Resource type for Analytics account.

name

Account name.

permissions

Permissions the user has for this account.

created

Time the account was created.

updated

Time the account was last modified.

starred

Indicates whether this account is starred or not.

permissions

All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).

References

Management API - Accounts Overview

See Also

Other Management API: get_custom_dimension, get_custom_metric, get_experiment, get_filter, get_goal, get_profile, get_unsampled_report, get_upload, get_webproperty, list_custom_data_sources, list_custom_dimensions, list_custom_metrics, list_experiments, list_filters, list_goals, list_profiles, list_segments, list_unsampled_reports, list_uploads, list_webproperties