if(profileid == IRaAdminSessionLocal.EMPTY_ENDENTITYPROFILEID)
if(profileid == LocalRaAdminSessionBean.EMPTY_ENDENTITYPROFILEID)
    private boolean authorizedToProfileId(int profileid, boolean editcheck){      	    	      EndEntityProfile profile = null;	      if(profileid == IRaAdminSessionLocal.EMPTY_ENDENTITYPROFILEID)        profile = null;      else         profile = raadminsession.getEndEntityProfile(administrator, profileid);             return authorizedToProfile(profile, editcheck);    }