laptop and a wrench

Bug

The group property of the arcgis.gis.User class does not retrieve the list of Group objects the current user belongs to if the user is a member of at least one group owned by someone outside the organization, and the 'Who can view this group?' setting is set to 'Only group members' or 'All organization members' in ArcGIS API for Python.

Last Published: December 24, 2021 ArcGIS API for Python
Bug ID Number BUG-000145104
SubmittedDecember 9, 2021
Last ModifiedAugust 9, 2024
Applies toArcGIS API for Python
Version found1.9.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

This issue is not reproducible in ArcGIS Online. If the issue occurs, please contact Esri Support Services as additional information is required for further investigation.

Workaround

  1. An administrator can view all the groups a member of the organization is in, both internal and external, from the ArcGIS Online user interface, regardless of the 'Who can view this group?' setting of the group.
  2. Replace user.groups with user.__dict__['groups'] as an alternative means of retrieving a list of Group objects.

Steps to Reproduce

Bug ID: BUG-000145104

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options