laptop and a wrench

Bug

Running the arcgis.users.search function with a query returns a different output format than running the function without a query.

Last Published: February 7, 2017 No Product Found
Bug ID Number BUG-000101730
SubmittedDecember 27, 2016
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

Although it appears that the properties available in the user object are different in the two cases, it's not actually true. In both cases, all properties are fetched on demand if they're not available. For example, print(user..storageUsage) will fetch the storageUnits if they aren't available with the user object initially. Because of performance reasons, we don't fetch all properties initially, but if the properties are queried, the 'user' object is hydrated and all properties are fetched and made available. It's only in the print function that this discrepancy shows up, but doesn't affect the behavior of the API.

Steps to Reproduce

Bug ID: BUG-000101730

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options