I want to get the portal user and their associated groups when the map loads in Web app builder. In the previous version of WAB there was function getUserGroups to get the portal user group names. I am not able to find a similar function in the latest WAB. Has anyone tried to get Groups of portal user? Any suggestions is greatly appreciated.