It
is possible. Admin accounts are created the same way as regular accounts, but you need to specify the parameters that make it an admin account.
I understand you want to make "domain admin" type of accounts, so you need to set
zimbraIsDelegatedAdminAccount to
TRUE when creating/modifying the account and add the user to the
zimbradomainadmins@your_domain.tld distribution list. Or any DL you have created with the appropriate permissions.
The soap call for the first part looks something like this:
Code:
<soap:Body>
<ModifyAccountRequest xmlns="urn:zimbraAdmin">
<id>89365fae-058c-xxxx-yyyyy-XXXXXXXXXXX</id>
<a n="zimbraIsDelegatedAdminAccount">TRUE</a>
</ModifyAccountRequest>
</soap:Body> ...you can get the full listing if you run
zmprov with the
--debug (or
-d) option.