View source: R/gtm_permissions_methods.R
Lists all of the user permissions in a GTM account.
1 2 3 4 5 6 7 8 | gtm_permissions_create(
account_id,
email,
account_permission,
container_permissions,
token,
verbose = FALSE
)
|
account_id |
The ID of the account |
email |
The email to which you want to grant permissions |
account_permission |
The account level permissions for the user; possible values are "accountPermissionUnspecified", "admin", "noAccess", and "user" |
container_permissions |
A data frame of the permissions per container, with the container ID in the first column and the permission in the second column. Possible permissions are "approve", "containerPermissionUnspecified", "edit", "noAccess", "publish", and "read" |
token |
An OAuth token object - needs to be set to 'manage users' |
verbose |
If you want a message letting you know that your results have been successfully retrieved. Defaults to FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.