Friday, 15 March 2013

zimbra user account creation using SOAP/REST -


When I sign up users in my application, I want to create a zombie account.

Please tell me if there is any other way.

A SOAP account creation request should look like this:

  Lt; CreateAccountRequest name = "{account-name}" password = "{account-password}" & gt; ## CreateAccountRequest (& lt; a n = "{key}" /> ## etter) * & lt; / CreateAccountRequest & gt;  

name has the full zomburb account name: uid@domain.com .

If you do not specify password , then users will not be able to login. (The password can be set later).

a tag allows you to send some optional attributes.

Example:

  & lt; CreateAccountRequest xmlns = "vase: zimbaradmin" & gt; & Lt; Name & gt; Username@domain.com< / Name & gt; & Lt; Password & gt; Foobar & lt; / Password & gt; & Lt; A n = "givenName" & gt; John & lt; / A & gt; & Lt; A n = "sn" & gt; Do & lt; / A & gt; & Lt; A n = "displayName" & gt; John Doe & lt; / A & gt; & Lt; A n = "zimbraCOSId" & gt; COS ID comes here. & Lt; / A & gt; & Lt; / CreateAccountRequest & gt;  

Documentation:


No comments:

Post a Comment