There are various ways with different levels of code cleanliness since all user names start off with 'XWiki.' you could use $context.getUser().substring(6)
If you're looking for the user's "common name" instead of the user name, you might want to look at $xwiki.getUserName http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#getUserName%28java.lang.String%29 Caleb abrante wrote: > I recovered the value from $context.user > > Thanks _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users