d.getAllAccounts(visitor);
Provisioning.getInstance().getAllAccounts(d, visitor);
    protected void doDomain(final Element e, Domain d) throws ServiceException {        NamedEntry.Visitor visitor = new NamedEntry.Visitor() {            public void visit(com.zimbra.cs.account.NamedEntry entry) throws ServiceException {                ToXML.encodeAccount(e, (Account) entry);            }        };        d.getAllAccounts(visitor);    }