addUserToAccessGroup
This method allows adding a user to an access group. To add each item, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/administration/AddUserToAccessGroupRequestType.java |
Return | web/wwwroot/ws/java/administration/AddUserToAccessGroupResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IdUser | X | Employee ID # |
IdAccessGroup | X | Access group ID # |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:addUserToAccessGroup>
<!--You may enter the following 2 items in any order-->
<urn:IdUser>?</urn:IdUser>
<urn:IdAccessGroup>?</urn:IdAccessGroup>
</urn:addUserToAccessGroup>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Record added FAILURE: Message regarding the error that occurred |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred |
Code | Description |
---|---|
2 | Inexistent access group |
12 | Inexistent user |
55 | Access group ID # not entered |
56 | User ID not entered |
1000 | The number of associated users reached the limit |