hi
I have a code which allows to count the number of users for each given group, but the problem the execution of the script takes a lot of time, i don't know what it's the problem
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 var paging = utils.createPaging(-1, 0); siteGroups = groups.getGroups(null, paging); logger.log(siteGroups.length) for (var i=0; i<siteGroups.length; i++) { logger.log(siteGroups[i].getUserCount()); }
Partager