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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動