AnsweredAssumed Answered

Determine webmaps to show based on AGOL user

Question asked by Joerodney on Nov 1, 2018
Latest reply on Nov 1, 2018 by mminami-esristaff

I'll start with my workflow/setup:

  • Users hits URL that serves up a web app builder (WAB) application that is hosted on my web server
  • Enter AGOL credentials
  • Sees the map tied to that repository on my server with only the layers they should see


In this case I have a repository on my web server for each and every user (and associated web map which contain layers specific to that user) and displayed when they login to WAB app. My goal is to still have multiple web maps and repository URL on my web server (Ex: users,...instead of,, etc).


I need a way to determine who the user is upon login and get AGOL to show a particular web map based on the user. This way I still have multiple web maps, but only one URL on my web server. OR if there is a way to have one web map and add the appropriate layers than even better.


Thanks in advance