laptop and a wrench

Error

Using the OR operator in the ArcGIS API for Python gis.users.search() function returns all members of the organization.

Última publicación: July 11, 2022 ArcGIS API for Python
Número de ID del error BUG-000149901
EnviadoJune 10, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.9.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

This issue is by design regarding the query syntax within the ArcGIS ecosystem. Placing parentheses around the query, such as 'gis.users.search("(adminaccount OR anotheraccount)")' returns the intended results.

Pasos para reproducir

ID del error: BUG-000149901

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga