Returns a single group.

oc_group(groupId = "")

Arguments

groupId

The group id

Value

Returns a single group.

Details

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

Examples

# \donttest{ Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") oc_group("MH_DEFAULT_ORG_EXTERNAL_APPLICATIONS")
#> Error: lexical error: invalid char in json text. #> Cannot find a group with id 'MH #> (right here) ------^
# }