How to access Active Directory user info within shiny dashboard



Hello everyone!

We are producing shiny dashboards for our customer, who is hosting an R Shiny Server Pro. They also use AD authentication. Now apart from steering the access towards specific dashboards for specific users / groups, how can I as a developer access the information about a username and it's groups from within a dashboard code? I tried session$user, but that returns NULL... Is there any server setting to be made or am I just accessing that information in the wrong way?

Thanks a lot in advance :slight_smile: