Learn R Programming

rym (version 1.0.6)

rym_users_grants: List of users permissions

Description

Returns information about the permissions to manage the counter and viewing statistics from 'management API'.

Usage

rym_users_grants(counter, login = getOption("rym.user"), 
                 token.path = getOption("rym.token_path"))

Value

Data frame with list of yandex metrika counter users

user_login

Login of the user who has been given permission to manage the counter.

perm

Access level, one of view, edit, public_stat.

created_at

Date of granting access in the format YYYY-MM-DD'T'hh: mm: ssZ.

comment

An arbitrary comment. The number of characters can not exceed 255.

partner_data_access

Logical, is partner access or not.

Arguments

counter

Yandex Metrika counter ID, you can get ids of all your conters over rym_counters

login

character, Your Yandex login

token.path

character, Directory for store API credential, by default is your work directory

Author

Alexey Seleznev

References

Official docs

Run vignette("rym-management-api", package = "rym") to see the corresponding vignette.

Examples

Run this code
if (FALSE) {
users <- rym_users_grants(counter    = "your_counter_id",
                          login      = "your_login")
}

Run the code above in your browser using DataLab