String[] args = commandLine.getArgs();
userId = args[1];
String password = args[2];
// Add domain to the user id if needed.
userId = userId + (userId.contains("@") ? "" : "@" + getWaveDomain());
ParticipantId participantId = ParticipantId.of(userId);
createUser(accountStore, participantId, password);
robotMessage = String.format("Created user %s, the password is: %s\n", userId, password);
LOG.log(Level.INFO, "Created user " + userId + " by " + adminId);
} catch (IllegalArgumentException e) {
LOG.log(Level.SEVERE, userId, e);