Esri / portalpy

A module that allows you to administer Portal for ArcGIS and ArcGIS Online.
Apache License 2.0
53 stars 36 forks source link

Different results for get_org_users and get_user #13

Open brackett opened 9 years ago

brackett commented 9 years ago

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.

bixb0012 commented 8 years ago

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.