laptop and a wrench

Bug

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

Zuletzt veröffentlicht: January 27, 2022 ArcGIS API for Python
Bug-ID-Nummer BUG-000145417
EingereichtDecember 20, 2021
Zuletzt geändertJune 18, 2025
Gilt fürArcGIS API for Python
Gefunden in Version1.9.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusKnown Limit

Zusätzliche Informationen

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

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000145417

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln