Function to get the user, or a mock user when the user isn't available.
1 | whoami(session, .mock_user = "UNKNOWN")
|
session |
The shiny session object. |
.mock_user |
The "default" username to use if one is not available in session$user. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.