@oneblink/sdk-core
    Preparing search index...

    Function getUserFriendlyName

    • A friendly string that represents the a User Profile. Uses first name, last name, full name, email address or username.

      const userProfile = userService.parseUserProfile(jwtPayload)
      const name = userService.getUserFriendlyName(userProfile)
      if (name) {
      // Display current user's name
      }

      Parameters

      Returns string