7 Sep
2010
7 Sep
'10
9:48 a.m.
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/xwi... Caleb abrante wrote:
I recovered the value from $context.user
Thanks