ePersonService.setMetadata(context, eperson, "phone", command.getOptionValue(OPT_PHONE.getOpt())); modified = true;
eperson.setLanguage(context, command.getOptionValue(OPT_LANGUAGE.getOpt(), Locale.getDefault().getLanguage())); ePersonService.setMetadata(context, eperson, "phone", command.getOptionValue(OPT_PHONE.getOpt())); eperson.setNetid(command.getOptionValue(OPT_NETID.getOpt())); ePersonService.setPassword(eperson, command.getOptionValue('p'));
ePersonService.setMetadata(context, eperson, field, value); log.debug( "Updated the eperson's '" + field + "' metadata using header: '" + header + "' = '" + value + "'.");
ePersonService.setMetadata(context, eperson, "phone", ldap.ldapPhone);