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.

Zuletzt veröffentlicht: December 24, 2021 ArcGIS API for Python
Bug-ID-Nummer BUG-000145104
EingereichtDecember 9, 2021
Zuletzt geändertAugust 9, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.9.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusNon-Reproducible

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000145104

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln