AnsweredAssumed Answered

get list of group members but profile name not username

Question asked by pmackenzie_LendLease on Jun 11, 2020
Latest reply on Jun 22, 2020 by pmackenzie_LendLease

This python in an AGOL Jupyter notebook returns me a list of usernames in the group as demo'd here: arcgis.gis module — arcgis 1.8.0 documentation .
Is there a smart way to return the users profile name, rather than their username. 

 

sa_groups = org_gis.groups.search('title:SA')
g = sa_groups[2]
response = g.get_members()
for user in response['users'] :
print(user)

Outcomes