thnx for ur help..but actually 

$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)

is returning a hyperlink...and it is becoming difficult for me to fetch 
the actual group since xwiki is adding every user in XWikiAllGroup by 
default
so how to fetch yhe actual grp of user?
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
----- Forwarded by Shruti Modi/MUM/TCS on 03/31/2008 07:43 PM -----

Sergiu Dumitriu <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/31/2008 06:02 PM
Please respond to
XWiki Users <[email protected]>


To
XWiki Users <[email protected]>
cc

Subject
Re: [xwiki-users] fetching group of user






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

ForwardSourceID:NT00004106 
=====-----=====-----=====
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


_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to