laptop and a wrench

漏洞

Running the users.search() method against an ArcGIS Enterprise 11.5 deployment to count users with the Viewer user type returns the error message "Error accessing: level".

ArcGIS API for Python
漏洞 ID 编号 BUG-000180531
已提交October 29, 2025
上次修改时间December 21, 2025
适用范围ArcGIS API for Python
找到的版本2.4.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

A User object in the Python API depends on the properties returned from the portal. Filter out any users missing the desired properties. Some built-in accounts common across enterprises include: "esri_boundaries", "esri_demographics", "esri_livingatlas", "esri_nav", "esri_webstyles",

解决办法

Include the following line in the script allows running it successfully against an ArcGIS Enterprise environment. This line filters users to include only those with the level property:

filtered_users = [user for user in users if 'level' in user]

重现步骤

漏洞 ID: BUG-000180531

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项