Hi,

You can use the following code snippet:
$!xwiki.getUserName($context.user, "$first_name", false)
$!xwiki.getUserName($context.user, "$last_name", false)
I hope this helps,
Oana

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