laptop and a wrench

漏洞

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

ArcGIS API for Python
漏洞 ID 编号 BUG-000168602
已提交June 25, 2024
上次修改时间February 18, 2025
适用范围ArcGIS API for Python
找到的版本2.3.0
操作系统Windows OS
操作系统版本11.0 64 bit
修正版本Q4 2024 (version 2.4.0)
状态Fixed

附加信息

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.

解决办法

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.

重现步骤

漏洞 ID: BUG-000168602

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项