I am not sure if there is anything in the API but if you want access to the core and you
have programming permission
you can get it by following the instructions here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HXWikiCoreAccess
Once you have the core XWiki object and the XWikiContext you can get the group service by
calling
def coreGroupService = wiki.getGroupService(xc)
(this is also possible in velocity if you have programming right.)
Caleb
Radek Rekas wrote:
Is it possible to get a list of all users that a user
belongs to using velocity or groovy?
The getAllMatchedUsers() method in the XWikiGroupService looks like it would do what I
need but this does not seem to be exposed in the xwiki api for use in velocity/groovy?
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
Radek Rekas
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users