Hello,
I need a script to set quota for hundreds of users.
I'd appreciate if someone helps me accomplish this task.
All you need is to execute a query to recover the users you want to work on, and then, use the following API:
var nodes = search.luceneSearch('+TYPE:"cmerson"');for each(var node in nodes) { node.setQuota(user, "10240000"); // 10 MB}
setQuota | Alfresco Documentation