use of com.zimbra.soap.account.message.GetIdentitiesRequest in project zm-mailbox by Zimbra.
the class SoapProvisioning method getAllIdentities.
@Override
public List<Identity> getAllIdentities(Account account) throws ServiceException {
List<Identity> result = new ArrayList<Identity>();
GetIdentitiesResponse response = invokeJaxbOnTargetAccount(new GetIdentitiesRequest(), account.getId());
for (com.zimbra.soap.account.type.Identity identity : response.getIdentities()) {
result.add(new SoapIdentity(account, identity, this));
}
return result;
}
Aggregations