A friendly string that represents the a User Profile. Uses first name, last name, full name, email address or username.
string
const userProfile = userService.parseUserProfile(jwtPayload)const name = userService.getUserFriendlyName(userProfile)if (name) { // Display current user's name}
A friendly
string
that represents the a User Profile. Uses first name, last name, full name, email address or username.Example
Returns