laptop and a wrench

Bug

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
Bug ID Number BUG-000144067
SubmittedOctober 28, 2021
Last ModifiedJune 2, 2025
Applies toArcGIS API for Python
Version found2.1.0
Operating SystemWindows OS
Operating System VersionN/A
Version FixedQ4 2023
StatusFixed

Workaround

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

Steps to Reproduce

Bug ID: BUG-000144067

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