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
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to