newExternalUser
This method allows importing external users.
Java class | |
---|---|
Request | web/wwwroot/ws/java/administration/importUserRequestType.java |
Return | web/wwwroot/ws/java/administration/importUserResponseType.java |
Request:
ID | Required | Description |
---|---|---|
NAME | X | User's name. |
PASSWORD | X | User's password. |
X | User's e-mail address. | |
NMID | X | License ID #. |
LANGUAGE | X | Enter the user's language code, in accordance with the "Database Encoding" column of the Localization section, in the System Requirements document. |
TELEPHONE | X | User's phone #. |
COMPANY | ID # of the user's company. | |
POSITION | Name of the user's position. | |
DEPARTMENT | Name of the user's department. | |
NRCONCURRENTLOGINS | Maximum number of the user's simultaneous connections. | |
OBSERVATION | Comments. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:newExternalUser>
<!--You may enter the following 11 items in any order-->
<urn:NAME>?</urn:NAME>
<urn:PASSWORD>?</urn:PASSWORD>
<urn:EMAIL>?</urn:EMAIL>
<urn:NMID>?</urn:NMID>
<urn:LANGUAGE>?</urn:LANGUAGE>
<urn:TELEPHONE>?</urn:TELEPHONE>
<!--Optional:-->
<urn:COMPANY>?</urn:COMPANY>
<urn:POSITION>?</urn:POSITION>
<urn:DEPARTMENT>?</urn:DEPARTMENT>
<urn:NRCONCURRENTLOGINS>?</urn:NRCONCURRENTLOGINS>
<urn:OBSERVATION>?</urn:OBSERVATION>
</urn:newExternalUser>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID | Description |
---|---|
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Record successfully added. FAILURE: message regarding the error that occurred. |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: â–ª -1 - Unexpected error. â–ª 2 - Invalid license key. â–ª 3 - The maximum size for this field is 50. â–ª 4 - E-mail already registered or associated. â–ª 5 - Null user login. â–ª 6 - Null user ID. â–ª 7 - Null user name. â–ª 8 - Null password. â–ª 9 - Null or inexistent language. â–ª 30 - Max. number of connections. |