Esri / Esri/arcgis-python-api

License.all() returns incorrect results for orgs with >10,000 users

Aperta
#1,815 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
2.2k
Fork
1.2k
Merge medio
2h 40m
PR unite (30g)
2

Descrizione

In an ArcGIS Online organization with >10,000 users, the License.all() method returns only the first 10,000 users that have a particular license. There does not seem to be a way to page results or otherwise access the users above the first 10,000.

You can reproduce this issue in any org with more than 10,000 users, for something is licensed to more than 10,000 users, for which you attempt to use all() to retrieve the full list of usernames to which it is licensed.

If the 10,000 limitation cannot be addressed, then it would be helpful to have all() return an error message that the list of usernames exceeds the limit and is incomplete, which a script could catch.

In the meantime, any suggestions for a workaround that would help construct the complete list of users that have a license? Is getting a list of all users, and checking them one-by-one for that license, the best way to do it?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.