laptop and a wrench

Error

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
Número de ID del error BUG-000144067
EnviadoOctober 28, 2021
Última modificaciónJune 2, 2025
Relacionado conArcGIS API for Python
Versión encontrada2.1.0
Sistema operativoWindows OS
Versión de sistema operativoN/A
Versión corregidaQ4 2023
EstadoFixed

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000144067

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga