return profileauthproxy.getEndEntityProfileAuthorization(administrator, profileid, EndEntityProfileAuthorizationProxy.HISTORY_RIGHTS);
return profileauthproxy.getEndEntityProfileAuthorizationNoLog(administrator, profileid, EndEntityProfileAuthorizationProxy.HISTORY_RIGHTS);
    public boolean authorizedToViewHistory(int profileid) throws RemoteException{      return profileauthproxy.getEndEntityProfileAuthorization(administrator, profileid, EndEntityProfileAuthorizationProxy.HISTORY_RIGHTS);    }