How to get username logged into shiny app hosted on

I am working on a shiny app where I am using bookmarks. So when host this app on I am dont want other users to see the bookmarks which I did using my user login. I tried using User = Sys.getenv("LOGNAME")) but it always returns the username as Shiny.

That is the user that the code is running as on our server.
You may want the session$clientData?


It did work with session$user for a private app with standard subscription.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.