31 Mar
2008
31 Mar
'08
1:37 p.m.
On Mar 31, 2008, at 2:32 PM, Sergiu Dumitriu wrote:
Shruti Modi wrote:
hi
i m trying to fetch the group of the logged in user...can anyone plz help me wid it...
Since XWiki 1.2:
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
BTW this not a correct English name. It should be getAllGroupNamesForMembers(). This is a small detail but it makes the api more difficult to understand. Thanks -Vincent