portalpy
portalpy copied to clipboard
Different results for get_org_users and get_user
get_org_users returns true 'role' for every user (including custom roles) but returns an empty list for 'groups' for each user. get_user returns only ESRI-defined 'role' for each user (custom role value returned defaults back to ESRI-defined template that custom role is based on?) but returns a dictionary for 'groups' for each user.
In terms of the custom role value getting returned as the Esri-defined template it is based on, I believe that is an issue with the REST interface and not this tool per se. I am starting to work with Esri Support on this issue.