[EMAIL PROTECTED] wrote:
> Hi Vitantonio,
> 
> i've tried search the archive, but i didn't find something that could 
> explain it to a novice (especially due to i don't know velocity )
> 
> Could you please help me?
> 
> Thank you!!!

Mattia,

first, set the username of the current user:
#set ($user = $xwiki.getUser())

then, check if that user is in the group you want:
#if ($user.isUserInGroup("Xwiki.XWikiGroupName")) {
  ...display something...
}

Hope this will help, I don't have time to check if this work, sorry.
Vito

-- 
Vitantonio Messa
+358 46 889 48 49 - [EMAIL PROTECTED]
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to