Print a structured return of the oc_info_me_roles() function.

# S3 method for oc_info_me_roles
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_info_me_roles() function.

See also

Examples

Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org") Sys.setenv(OPENCAST_USERNAME = "admin") Sys.setenv(OPENCAST_PASSWORD = "opencast") resp <- oc_info_me_roles() resp
#> $content #> [1] "ROLE_USER" #> [2] "ROLE_GROUP_MH_DEFAULT_ORG_SYSTEM_ADMINS" #> [3] "ROLE_ADMIN" #> [4] "ROLE_SUDO" #> [5] "ROLE_ANONYMOUS" #> [6] "ROLE_USER_ADMIN" #> [7] "ROLE_OAUTH_USER" #> #> $url #> [1] "https://legacy.opencast.org/api/info/me/roles" #> #> $response #> Response [https://legacy.opencast.org/api/info/me/roles] #> Date: 2020-03-19 11:21 #> Status: 200 #> Content-Type: application/json #> Size: 133 B #> #> #> attr(,"class") #> [1] "opencast_api"