Attempting to get all accounts in a given domain, can't seem to figure out the correct attributes to add to the tag request. So far I have:
It throws an exception: com.zimbra.soap.SoapFaultException: invalid request: missing required attribute: by
Element tagsRequest = Element.XMLElement.mFactory.createElement(AdminService.GET_ALL_ACCOUNTS_REQUEST);
tagsRequest.addAttribute(AdminService.E_DOMAIN, "mydomain.com", Element.DISP_CONTENT);
I see there's a AdminService.BY_NAME but I can't seem to figure out how to get it to work. Can anyone help me out?