Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ga_users_list

List Users


Description

Get a list of Account level user links, or if you supply the webPropertyId or viewId it will show user links at that level

Usage

ga_users_list(accountId, webPropertyId = "~all", viewId = "~all")

Arguments

accountId

Account Id

webPropertyId

Web Property Id - set to NULL to operate on account level only

viewId

viewId - set to NULL to operate on webProperty level only

Details

Will list users on an account, webproperty or view level

Value

A data.frame of user entity links including the linkId, email and permissions

See Also

Other User management functions: ga_users_add(), ga_users_delete_linkid(), ga_users_delete(), ga_users_update()

Examples

## Not run: 

library(googleAnalyticsR)
ga_auth()
ga_users_list(47480439)
ga_users_list(47480439, webPropertyId = "UA-47480439-2")
ga_users_list(47480439, webPropertyId = "UA-47480439-2", viewId = 81416156)

# use NULL to only list linkids for that level
ga_users_list(47480439, webPropertyId = NULL, viewId = NULL)

## End(Not run)

googleAnalyticsR

Google Analytics API into R

v1.0.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.