Display the full name of a client

How can you display the full name of a client on the screen?

I could only show the user with the following:

In Vision:

  • Use a client startup script to write the full name to a client taq. Reference the tag anywhere you like.
userName = system.security.getUsername()
user = system.user.getUser("", userName)
system.tag.writeBlocking(['[client]fullName'], [user.get('firstname') + " " + user.get('lastname')])

In Perspective:

{session.props.auth.user.firstName} + ' ' + {session.props.auth.user.lastName}
1 Like

thanks you