Sending Shinymanager username to UI

I would like to know how I can send the Shinymanager username and user role to UI as a character string? I know I can display it as a text with uiOutput or other Text-type shiny outputs. But I need the 'value' so I can make adjustments based on username or user role.