thnx for ur help...it really worked
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: shruti.modi(a)tcs.com
Website:
http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
"Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
Sent by: users-bounces(a)xwiki.org
03/31/2008 08:26 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
"XWiki Users" <users(a)xwiki.org>
cc
Subject
Re: [xwiki-users] Fw: fetching group of user
On Mon, Mar 31, 2008 at 4:16 PM, Shruti Modi <shruti.modi(a)tcs.com> wrote:
thnx for ur help..but actually
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
is returning a hyperlink...and it is becoming difficult for me to fetch
No this method does not return an hyperlink, it return a list of
String see
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xw…
the actual group since xwiki is adding every user in
XWikiAllGroup by
default
so how to fetch yhe actual grp of user?
I don't understand what you call "actual" group, the user can be in a
lot of groups.
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: shruti.modi(a)tcs.com
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 <sergiu(a)xwiki.com>
Sent by: users-bounces(a)xwiki.org
03/31/2008 06:02 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
XWiki Users <users(a)xwiki.org>
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
users(a)xwiki.org
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
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
ForwardSourceID:NT0000413A
=====-----=====-----=====
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