if(userdata.getEndEntityProfileId() != 0){
cat.debug(">addUser()");  if(userdata.getEndEntityProfileId() != 0){
    public void addUser(UserView userdata) throws Exception{             if(userdata.getEndEntityProfileId() != 0){           adminsession.addUser(administrator, userdata.getUsername(), userdata.getPassword(), userdata.getSubjectDN(), userdata.getSubjectAltName()                               ,userdata.getEmail(), userdata.getClearTextPassword(), userdata.getEndEntityProfileId(),                                userdata.getCertificateProfileId(), userdata.getAdministrator(),                                userdata.getKeyRecoverable(), userdata.getTokenType(), userdata.getHardTokenIssuerId());           addedusermemory.addUser(userdata);        }      }