powered by
Returns information about the current user, including the roles or groups they are in.
getUserInfo(labbcat.url)
A named list containing information about current the LaBB-CAT user.
URL to the LaBB-CAT instance
labbcatCredentials
if (FALSE) { ## List file export formats supported me <- getUserInfo("https://labbcat.canterbury.ac.nz/demo/") ## am I an administrator? admin <- "admin" %in% me$roles }
Run the code above in your browser using DataLab