Re: [xwiki-users] $isUserInGroup doesn't inherrit subgroup membership

2012-06-03 Thread Ricardo.Julio.Rodriguez.Fernandez
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

Re: [xwiki-users] isUserInGroup

2007-10-26 Thread Vitantonio Messa
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

[xwiki-users] isUserInGroup

2007-10-26 Thread Your XEN ICT Team - Ricardo Rodriguez
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

Re: [xwiki-users] isUserInGroup

2007-10-26 Thread Esbach, Brandon
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

Re: [xwiki-users] isUserInGroup

2007-10-26 Thread Your XEN ICT Team - Ricardo Rodriguez
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