--
You received this message because you are subscribed to the Google Groups "shinyapps.io Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/1bc98f5d-fe4c-4de0-a6a7-274b1c426a14%40googlegroups.com.
Robin,If you're running on shinyapps.io, and your application is set to private, when a person logs into your application the email address of the person who is logged in will be in session$user. We don't expose anything other then the email address. Again this is for private applications only.Hope that helps,-Andy
On Thu, Dec 1, 2016 at 5:14 AM, Robin Davies <robind...@gmail.com> wrote:
RegardsThanks JoshuaThat's the route I followed but I am still struggling. The Shiny permissions documentation and other web searches only talks about extracting the session$user from a Linux/Redhat server. I am wanting to extract the username from the person logged into www.shinyapps.io (or return a NULL if they are viewing my app as a guest). I'm really hoping this feature is possible, otherwise my app is at a dead end. Perhaps shinyapps have done this to protect the user's identity (security). Alternatively, is it possible to determine if the user has logged in on shinyapps.io, I might be able to use this as a workaround? If you have any other ideas on solving this, it would be greatly appreciated.
On Monday, 28 November 2016 15:18:34 UTC+2, Robin Davies wrote:Hi, I have seen this question a couple of times but I am still a bit unclear. I would like to obtain the username and then take actions on this. For example, the user currently on the app is joebloggs so only show data that joebloggs is permitted to see. Can one only get a username through Shiny Server Pro? I don't use Linux or Redhat so I am a bit stuck...
--
You received this message because you are subscribed to the Google Groups "shinyapps.io Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-users+unsubscribe@googlegroups.com.
To post to this group, send email to shinyapps-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/0550a96d-c3e7-4d8d-b73d-da4aa482d624%40googlegroups.com.