userName
To return the username of a user
The function tells you the username of the current or a user.
This refers to the display name that is on file in the profile of the user.
userName()
userName(user)
string
userName()
To return the username of the current user.1
userName()
Result: Steve Rogers (if Captain America is processing the function and has this on file in his profile)
userName(myUser)
To return the username of a given user.Select Captain America in the user field Superhero.
1
userName(Superhero)
Result: Captain America
(if Captain America is selected in the Superhero field and that is the display name on file)
Last modified 1yr ago