if (userdata != null) { returnval = userdata.getTokenType(); }
this.username = username;
    public int getTokenType(String username) throws Exception {        int returnval = 0;        UserAdminData userdata = null;        IUserAdminSessionRemote useradminsession = useradminhome.create();        try {            userdata = useradminsession.findUser(administrator, username);        } catch (FinderException fe) {        }        if (userdata != null) {            returnval = userdata.getTokenType();        }        return returnval;    }