laptop and a wrench

Bug

Unable to create an administrative account using ArcGIS API for Python.

ArcGIS API for Python
Bug-ID-Nummer BUG-000168602
EingereichtJune 25, 2024
Zuletzt geändertFebruary 18, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.3.0
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
Behoben in VersionQ4 2024 (version 2.4.0)
StatusFixed

Zusätzliche Informationen

An administrator user role cannot be created with the Python API by specifying ‘org_admin’ as the role value. Instead, a new user can be created with an available role such as ‘org_publisher’, and subsequently, the user’s role can be updated to administrator using the 'update_role()' method on the User object.

Workaround

Use another value for the role argument, such as 'org_publisher', then invoke the update_role(role='org_admin') method to update the newly created user's role value.

Schritte zur Reproduzierung

Bug-ID: BUG-000168602

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