laptop and a wrench

Erro

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

Última Publicação: January 27, 2022 ArcGIS API for Python
Número de ID do Erro BUG-000145417
EnviadoDecember 20, 2021
Última ModificaçãoJune 18, 2025
Aplica-se àArcGIS API for Python
Versão encontrada1.9.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusKnown Limit

Informações Adicionais

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

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000145417

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download