This function returns the Opencast username that is set in the environment variable OPENCAST_USERNAME.

oc_username()

Value

A character string containing the Opencast username.

See also

Examples

Sys.setenv(OPENCAST_USERNAME = "admin") oc_username()
#> [1] "admin"