View source: R/madoc-api-with-token.R
madoc_users | R Documentation |
Get the list of Madoc users. This requires logging in using madoc_login
madoc_users(type = c("site", "global"))
type |
character string, either site or global indicating to get users of your site or users of the whole madoc instance. Defaults to 'site' |
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
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.