View source: R/oc_info_me_roles.R
oc_info_me_roles | R Documentation |
Returns current user's roles.
oc_info_me_roles()
This function expects the hostname, username and password to be set as environment variables.
A list containing the current user's roles.
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") oc_info_me_roles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.