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#HAccessobjectsinapage
 
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
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to