View source: R/authenticate_sb.R
get_username | R Documentation |
Used to retrieve the current user name. Will request the username be entered if no user is provided and 'interactive()' is TRUE.
This is largely an internal function, but is exported for awareness and use in automated pipelines.
get_username(username = NULL)
username |
character if NULL, will be retrieved from the 'sb_user' environment variable or the 'username' file stored at 'token_stache_path()' |
character string containing a username. Throws an error if no username is found and 'interactive()' is FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.