Syam, When you say currently logged in, I assume you mean the user who is viewing the particular page as opposed to all users who are currently logged in? In any case, it doesn't quite make sense because a user can be a member of multiple groups. You can check if a user is in a particular group using something along the lines of: #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) I suppose it might be possible to do some sort of $hql search to generate a list of all groups and then you could loop through them with an if statement as shown above and then generate a list of groups of which the user is a member. Does that answer your question? Some of the more experienced contributors might be able to give you more advice. Brian -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of syam_kg Sent: 13 August 2008 05:01 To: [email protected] Subject: [xwiki-users] Velocity Snipplet for getting the current user group Hi Can anybody please provide the velocity snipplet for getting the group of the user currently logged in Regards Syam -- View this message in context: http://n2.nabble.com/Velocity-Snipplet-for-getting-the-current-user-group-tp 721120p721120.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users