user = userBiz.insertUser("testuserfn", "testusermn", "testuserln", "testuserdn", "testuser for userTransformer", new Integer(0), null, new Integer(-1));
user = userBiz.insertUser("testuserfn", "testusermn", "testuserln", "testuserdn", "testuser for userTransformer", new Integer(0), null, null);
	public void createOldUser(IWContext iwc) {		Object objUserSysAtt = iwc.getApplicationSettings().getProperty("IW_USER_SYSTEM");		boolean isOldSystemUsed = objUserSysAtt != null && objUserSysAtt.toString().equals("OLD");		if(!isOldSystemUsed) {			addText("Creating an old user can only be done if the application property \"IW_USER_SYSTEM\" is set to \"OLD\"");			return;		}		UserBusiness userBiz = UserBusiness.getInstance();		com.idega.core.user.data.User user = null;		try {			user = userBiz.insertUser("testuserfn", "testusermn", "testuserln", "testuserdn", "testuser for userTransformer", new Integer(0), null, new Integer(-1));		} catch(Exception e) {			// try using hardcoded id for group that exists			e.printStackTrace();			try {				user = userBiz.insertUser("testuserfn", "testusermn", "testuserln", "testuserdn", "testuser for userTransformer", new Integer(0), null, new Integer(24));			} catch(Exception e2) {				e2.printStackTrace();			}		}		if(user!=null) {			addText("Added user \"" + user.getDisplayName() + "\"");		}	}