oc_info_organization: Query Opencast current organization

Description Usage Details Value Examples

View source: R/oc_info_organization.R

Description

Returns the current organization.

Usage

1

Details

This function expects the hostname, username and password to be set as environment variables.

Value

A list containing the settings for the anonymous role, the name, the admin role and the id.

Examples

1
2
3
4
5
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

oc_info_organization()

opencastR documentation built on March 19, 2020, 5:12 p.m.