use of com.zimbra.soap.admin.message.GetAllAdminAccountsResponse in project zm-mailbox by Zimbra.
the class SoapProvisioning method getAllAdminAccounts.
// SoapProvisioning only, for zmprov
public List<Account> getAllAdminAccounts(boolean applyDefault) throws ServiceException {
ArrayList<Account> result = new ArrayList<Account>();
GetAllAdminAccountsResponse resp = invokeJaxb(new GetAllAdminAccountsRequest(applyDefault));
for (AccountInfo acct : resp.getAccountList()) {
result.add(new SoapAccount(acct, this));
}
return result;
}
Aggregations