getUser | R Documentation |
Get the current user. This is either the logged in user or the 'sudo' user if in 'sudo' mode.
getUser(server)
server |
The server |
The current user
## Not run:
user <- getUser(server)
message(paste(user$getUserName(), "is logged in"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.