I'm the owner of a group and via the AGOL web interface, I can see all members of the group (even those in other organizations), I can see their usernames, and I can see their full names.
When I try and do this via the api, I can only see certain properties of those users that are not members of my organization. I can see username and id and that's about it. If I can see their full name via the AGOL web interface, why can't I see it via the api.
I'm using the following code snippets:
group = gis.groups.search("name of my group")
members = group.get_members()
for user in members['users']:
ago_user = gis.users.get(user)
name = ago_user.fullName
user_id = ago_user.username
For those users of my org, I get their fullName fine, but I get an empty string on those outside my organization. Is this by design? If so, why can I see their full names via the web interface, but can't via the api?