powered by
Returns current user's roles.
oc_info_me_roles()
A list containing the current user's roles.
This function expects the hostname, username and password to be set as environment variables.
# NOT RUN { Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") oc_info_me_roles() # }
Run the code above in your browser using DataLab