madoc_users: Get the list of Madoc users

View source: R/madoc-api-with-token.R

madoc_usersR Documentation

Get the list of Madoc users

Description

Get the list of Madoc users. This requires logging in using madoc_login

Usage

madoc_users(type = c("site", "global"))

Arguments

type

character string, either site or global indicating to get users of your site or users of the whole madoc instance. Defaults to 'site'

Value

in case type is

  • type = 'site': a data.frame with the Madoc users with columns id, name, role, site_role, email

  • type = 'global': a data.frame with the Madoc users with columns id, name, email, role, is_active, modified, created

Examples

madoc_login("https://www.madoc.ugent.be/s/brugse-vrije", 
            email = "jan.wijffels@vub.be", password = Sys.getenv("MADOC_PWD"))
x <- madoc_users(type = "site")
x <- madoc_users(type = "global")

DIGI-VUB/madoc.utils documentation built on Sept. 14, 2022, 3:03 p.m.