laptop and a wrench

Bogue

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

ArcGIS API for Python
Numéro d’ID de bogue BUG-000168602
EnvoiJune 25, 2024
Dernière modificationFebruary 18, 2025
S’applique àArcGIS API for Python
Version trouvée2.3.0
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
Version de correctionQ4 2024 (version 2.4.0)
StatutFixed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000168602

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