List<String> lineElementList = Arrays.asList(lineElements);
Properties properties = buildProperties(headerElementList, lineElementList);
String userName = lineElementList.get(userNamePos);
String password = lineElementList.get(passwordPos);
if (userService.isUsernameSyntaxCorrect(userName)) {
PolicyEnforcementResult evalResult = pwdPolicyService.enforcePolicyOnUserCreate(userName, password);
if (evalResult.isSuccess()) {
JahiaUser jahiaUser = userManager.createUser(userName, password, properties);
if (jahiaUser != null) {
usersCreatedSuccessfully++;
logger.info("Successfully created user {}", userName);