AnsweredAssumed Answered

Arcgis API for Python - List Group Members

Question asked by rsm_ddms on Jun 5, 2020
Latest reply on Jun 5, 2020 by jskinner-esristaff

This is the explanation for how to list group members in ArcGIS API for Python documentation. I don't see any way to get an actual list of group members here. When I do this on my groups, I get the words "owner" "admins" users"

I feel like there is a big missing part here. Could someone help me find it?


Thank you,

Randy McGregor



Listing users belonging to a group

You can list the users in a group by calling the get_members() method. The method returns a dictionary that not only gives you the member list, but also the owner, admin and users.

In [27]:
{'owner': 'arcgis_python',  'admins': ['arcgis_python'],  'users': ['api_data_owner']}