0

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.

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.

userName(Superhero)

Result: Captain America

(if Captain America is selected in the Superhero field and that is the display name on file)

user which returns the current or a specific user.

userFullName which returns the full name of a user.

Reply

null