Situation:
Web App Has Three Layers A, B, and C. Each user has his/her own permissions. So for example, how would I disable layers A and C for USER1, and have all layers available for USER2. Is there an example somewhere ?
Tom,
There is not a simple step by step for this but you can achieve your goal by taking portions from a couple of threads.
https://community.esri.com/thread/221787-show-hide-layers-widget-based-on-portal-named-user-level