laptop and a wrench

漏洞

The gis.users.advanced_search() script returns an incorrect user count.

上次发布: January 27, 2022 ArcGIS API for Python
漏洞 ID 编号 BUG-000145417
已提交December 20, 2021
上次修改时间June 18, 2025
适用范围ArcGIS API for Python
找到的版本1.9.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

When using advanced_search the orgid is not specified as it is in regular search. The orgid needs to be specified in the query to limit the search to only the organization. For example, say an ArcGIS Online organization has multiple users with the email: 'test@email.com'. To return the count of users within the org with this email, the following code could be used: gis.users.advanced_search(query='email: AND orgid:', return_count = True) Note, the orgid can be found in the gis properties: gis.properties.id

解决办法

Use the gis.users.search script as documented here: https://developers.arcgis.com/python/guide/accessing-and-managing-users/#searching-for-user-accounts

重现步骤

漏洞 ID: BUG-000145417

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项