AnsweredAssumed Answered

Enumerating ALL users in Javascript?

Question asked by gyro.gearless on Jun 8, 2010
Latest reply on Jun 8, 2010 by jpfi
Hi folks,

i wonder how i would enumerate ALL users known to Alfresco in some JS? I just tried this example from the Wiki:

var people = search.luceneSearch("TYPE:cm\\:person");
for each (p in people)
   logger.log("Found user: " +;
   // ….

which fails, because the lucene query returns no more than 1000 people, while i have some 5000 users in my system  :(

Any idea how to do that in JS?