When retrieving group properties via the Python API, I've noticed that groups that allow members from other Organizations has a property "memberOrgIds", which provides a list of IDs for members of the group from outside Organizations.
Is there a way to query for the name or URL of the outside Organizations using the ID value, so we can easily get a list of outside Organizations with access to a particular group or our Organization?
Greetings,
So i think this is how you do it:
https://arcgis.com/sharing/rest/portals/organizationIDhere?f=pjson
If you replace "organizationIDhere" with a real org ID it should work, but I have found it only works if the org in question is set to allow for anonymous access. The result is a json response and the name of the org is in there. I hope it helps. Thank you for everything and have a delightful day.
Sincerely,
Joe Guzi