Using Connect Enterprise Web Services |
|||
| Basics > Create users | |||
To create a new user, you need Administrator privilege. Adobe recommends that you create a user who belongs to the admins group for your application to use to make API calls that require Administrator privilege.
See "Log in from an application" for various ways to log in.
https://example.com/api/xml?action=principal-update
&first-name=jazz&last-name=doe&login=jazz99@doe.com&password=hello
&type=user&send-email=true&has-children=0&email=jazz99@doe.com
The type must be user, has-children must be 0 or false, send-email must be true, and email must have a valid e-mail address.
The server sends a welcome e-mail with login information to the user's e-mail address.
principal-id:
<principal type="user" principal-id="2007184341" has-children="0"
account-id="624520">
<login>jammdoe@example.com</login>
<ext-login>jammdoe@example.com</ext-login>
<name>jamm doe</name>
</principal>
login and email parameters:
https://example.com/api/xml?action=principal-update&first-name=jazz
&last-name=doe&login=jazz&email=jazzdoe@company.com
&password=nothing&type=user&has-children=0
rincipal-id of the new user:
<principal type="user" principal-id="2007184341" has-children="0"
account-id="624520">
<login>jazzdoe@example.com</login>
<ext-login>jazzdoe@example.com</ext-login>
<name>jazz doe</name>
</principal>
In the response, ext-login has the same value as login by default, until the user logs in successfully using external authentication (see "Log in using HTTP header authentication").
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/03_perm4.htm