getUserInfo | R Documentation |
Returns information about the current user, including the roles or groups they are in.
getUserInfo(labbcat.url)
labbcat.url |
URL to the LaBB-CAT instance |
A named list containing information about current the LaBB-CAT user.
labbcatCredentials
## Not run:
## List file export formats supported
me <- getUserInfo("https://labbcat.canterbury.ac.nz/demo/")
## am I an administrator?
admin <- "admin" %in% me$roles
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.