26 Aug
2010
26 Aug
'10
9:04 a.m.
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