
Gets information about the current user
getUserInfo.Rd
Returns information about the current user, including the roles or groups they are in.
Examples
if (FALSE) { # \dontrun{
## List file export formats supported
me <- getUserInfo("https://labbcat.canterbury.ac.nz/demo/")
## am I an administrator?
admin <- "admin" %in% me$roles
} # }