laptop and a wrench

Bogue

When getting user role properties after updating the user role to Viewer, Data Editor, or Facilitator (by passing the role for Viewer or role ID for Viewer, Data Editor, or Facilitator) using ArcGIS API for Python, a different 'role Id' is returned instead of the 'role' property.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000144067
EnvoiOctober 28, 2021
Dernière modificationJune 2, 2025
S’applique àArcGIS API for Python
Version trouvée2.1.0
Système d’exploitationWindows OS
Version du système d’exploitationN/A
Version de correctionQ4 2023
StatutFixed

Solution de contournement

Get the same user again using gis.users.get("Username") and attempt getting the 'role' and 'roleId' after.

Étapes pour reproduire

ID de bogue: BUG-000144067

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