Skip to main content
Version: 2.2.1

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
Requestweb/wwwroot/ws/java/administration/AddUserToAccessGroupRequestType.java
Returnweb/wwwroot/ws/java/administration/AddUserToAccessGroupResponseType.java

Request:

ID #RequiredDescription
IdUserXEmployee ID #
IdAccessGroupXAccess 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
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
DetailSUCCESS: Record added
FAILURE: Message regarding the error that occurred
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred
CodeDescription
2Inexistent access group
12Inexistent user
55Access group ID # not entered
56User ID not entered
1000The number of associated users reached the limit