In my web appbuilder application , i have 6 customize widgets and 12 layers, Is there anyway to show hide widget icon, layers based on the portal named user level.
Portal users with level 2 must be able to see widget icon when clicks open the widget also some layers only visible to level 2 user.The level 1 user will see only default widgets.
I tried to use widgetmanager .getwidgets or loaded ,it gets only builtin widgets not the customize widget.
what is the best efficient way.
Thanks