If you edit your profile with the object editor you'll see there is an
object of class XWiki.XWikiUsers attach to it. Use
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
to access that object and to query its properties.
Hope this helps,
Marius
On 08/26/2010 11:30 AM, abrante wrote:
How can I get the name and last name from the current user in a different
variables?
Until now I obtain the current user with $context.user but I need the name
separated from the last name.
Thanks