Thanks for the info, updated version of the script looks like this
{{velocity}}
#macro(displayFullNameByLogin $login)
#set($userDocName = "XWiki."+$login)
{{html}}$xwiki.getUserName($userDocName, true){{/html}}
#end
{{/velocity}}
usage is the same (works as it meant to work: displays Full Name with URL to
user's profile if user exists and login otherwise).
--
View this message in context:
http://n2.nabble.com/Code-snippet-Full-user-name-and-link-by-log-in-tp48381…
Sent from the XWiki- Users mailing list archive at
Nabble.com.