AnsweredAssumed Answered

How to delete a group?

Question asked by spizzico7 on Sep 22, 2009
Latest reply on Mar 16, 2010 by relax
I have used this code :
   public static boolean deleteGroups(String groupname) {
      boolean control=true;
      String[] delgroup = {groupname};
         AccessControlServiceSoapBindingStub accessControlService = WebServiceFactory.getAccessControlService();

         NewAuthority cpGrpAuth = new NewAuthority(GROUP_AUTHORITY_TYPE,groupname);
         NewAuthority[] newAuthorities = {cpGrpAuth};

      catch(Exception e)
      return control;

but get this error: trying to modify a fixed authority.

How must i do?