Hi!
From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Joris
Dirks [jo...@user.stekje.nl]
Sent: 30 May 2012 15:18
To: XWiki Users
Subject: [xwiki-users] $isUserInGroup doesn't inherrit subgroup membership
I have an issue
Hi Ricardo,
you need to call it from an user object, hence:
- #set ($user = $xwiki.getUser()) ## to retrieve the current user, or
getUser(XWiki.UserName) to retrieve any user
- $user.isUserInGroup(XWikiAdminGroup) ## to check if this user is
in the admin group
I didn't try the code, but
Hi all,
Please, could you help me to find the right syntax to check if an user
belongs to a given group?
I've been playing with the isUserInGroup method without success.
Thank you so much,
--
Ricardo RodrÃguez
Your XEN ICT Team
___
users mailing
the isUserInGroup
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vitantonio Messa
Sent: 26 October 2007 11:56
To: XWiki Users
Subject: Re: [xwiki-users] isUserInGroup
Hi Ricardo,
you need to call it from an user object, hence:
- #set ($user = $xwiki.getUser
Vitantonio, Brandon,
Thanks for your inputs! I can try it now (a whole crew -kids- is
awaiting me!), but do that next Sunday evening and keep this thread posted.
Cheers,
Ricardo
--
Ricardo RodrÃguez
Your XEN ICT Team
___
users mailing list