laptop and a wrench

Bogue

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.

Dernière publication: December 24, 2021 ArcGIS API for Python
Numéro d’ID de bogue BUG-000145104
EnvoiDecember 9, 2021
Dernière modificationAugust 9, 2024
S’applique àArcGIS API for Python
Version trouvée1.9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutNon-Reproducible

Informations supplémentaires

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.

Solution de contournement

  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.

Étapes pour reproduire

ID de bogue: BUG-000145104

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement