Hello,
Is it possible to create an administrator account using the SOAP api?
I can't seem to find a method for it in the soap documentation.
SourceForge.net Repository - [zimbra] Contents of /trunk/ZimbraServer/docs/soap-admin.txt
Cheers
//Moffe
Hello,
Is it possible to create an administrator account using the SOAP api?
I can't seem to find a method for it in the soap documentation.
SourceForge.net Repository - [zimbra] Contents of /trunk/ZimbraServer/docs/soap-admin.txt
Cheers
//Moffe
I'll guess it is not possible then.
I'm currently building a provisioning system to provision new customers and a control panel for the customers to manage their accounts.
My idea was to create an administrator account for each customer on the server, so the particular customer is limited to only administer accounts/domains which it has been granted access to. And this is in term of using the soap interface - not necessarily the admin UI, but could possible to.
Does anyone have any pointers how I apply this to a user in Zimbra ?
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:
...you can get the full listing if you run zmprov with the --debug (or -d) option.Code:<soap:Body> <ModifyAccountRequest xmlns="urn:zimbraAdmin"> <id>89365fae-058c-xxxx-yyyyy-XXXXXXXXXXX</id> <a n="zimbraIsDelegatedAdminAccount">TRUE</a> </ModifyAccountRequest> </soap:Body>
odeleon, thank you very much.. I wasn't aware of that option.
Just what I needed to get this going again, thanks a lot.
Cheers
There are currently 1 users browsing this thread. (0 members and 1 guests)