Thx, but it looks the code adds the users to all groups, is that correct understanding.
I our case the loop should be constructed on all XWiki.<usernames> documents (except administrator) that have a userclass object and are activated; how can i do that? Take a look at http://code.xwiki.org/xwiki/bin/view/Snippets/Create200DummyUsersSnippet Arnaud > Hi, > > I notice that when you import a XAR file with 'users' these users are not > automatically added to XWikiAllGroup? > Is this by design, and if so how do you restore them as members of this group > (have > 100 users) > > Is there a script or macro to add users to a group? > > Gerritjan > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
