[xwiki-users] fetching group of user
hi i m trying to fetch the group of the logged in user...can anyone plz help me wid it... Shruti Modi Tata Consultancy Services Cell:- 9870245740 Mailto: [email protected] Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
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) -- Sergiu Dumitriu http://purl.org/net/sergiu/
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
participants (3)
-
Sergiu Dumitriu -
Shruti Modi -
Vincent Massol