0

userFirstName

To return the first name of a user

This function will tell you the first name of the current or a given user.

đź’ˇ This refers to the first name that is on file in the profile of the user, not the display name.

Syntax

userFirstName()

userFirstName(user)

Return

string

Examples

userFirstName() To return the first name of the current user.

userFirstName()

Result: Steve (if Steve Rogers from the Avengers is currently using the database)

 

userFirstName(myUser) To return the first name of a given user.

Steve Rogers is a collaborator in your workspace (team). Select Captain America in the Superhero field (field type: user).

userFirstName(Superhero)

Result: Steve (if Captain America is selected in the field Superhero)

See also

user, which returns the current or a specific user.

userLastName, which returns the last name of a user.

userFullName, which returns the full name of a user.

Reply

null