adminsession.setUserStatus(administrator, usernames[i],intstatus); }catch(AuthorizationDeniedException e){ success = false;
intstatus = Integer.parseInt(status); }catch(Exception e){} for(int i=0; i < usernames.length; i++){ try{ adminsession.setUserStatus(administrator, usernames[i],intstatus); }catch(AuthorizationDeniedException e){ success = false; }
    public boolean setUserStatuses(String[] usernames, String status) throws Exception{      log.debug(">setUserStatuses()");      boolean success = true;      int intstatus = 0;      try{        intstatus = Integer.parseInt(status);      }catch(Exception e){}      for(int i=0; i < usernames.length; i++){        try{          adminsession.setUserStatus(administrator, usernames[i],intstatus);        }catch(AuthorizationDeniedException e){           success = false;        }      }      log.debug("<setUserStatuses(): " + success);      return success;    }