code: protected String findDisplayNameFromLocalAccountPerson(ILocalAccountPerson person) {
          Object name = person.getAttributeValue(ILocalAccountPerson.ATTR_DISPLAY_NAME);
          if ((name instanceof String) && !StringUtils.isEmpty((String) name)) {
              return (String) name;
          }
  
          // if display name is not set, just return username.
          return person.getName();
      }
docs: Determine the name to use in the password reset email that identifies the users whose
  password has been reset.
  
  @param person the account that has had its password reset
  @return the account holders name