Get a list of Account level user links, or if you supply the webPropertyId or viewId it will show user links at that level
ga_users_list(accountId, webPropertyId = "~all", viewId = "~all")
Account Id
Web Property Id - set to NULL to operate on account level only
viewId - set to NULL to operate on webProperty level only
A data.frame
of user entity links including the linkId, email and permissions
Will list users on an account, webproperty or view level
Account User Links Google Documentation
Other User management functions:
ga_users_add()
,
ga_users_delete_linkid()
,
ga_users_delete()
,
ga_users_update()
if (FALSE) {
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)
}