Skip to main content
Version: 2.2.0

removeUserFromRole

This method allows disassociating a user from a functional role. To do so, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\generic\RemoveUserFromRoleRequestType.java
Returnweb\wwwroot\ws\java\generic\RemoveUserFromRoleResponseType.java

Request:

ID #RequiredDescription
IdRoleXFunctional role ID #
IdUserXUser ID

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:generic">
<soapenv:Header/>
<soapenv:Body>
<urn:removeUserFromRole>
<!--You may enter the following 2 items in any order-->
<urn:IdRole>?</urn:IdRole>
<urn:IdUser>?</urn:IdUser>
</urn:removeUserFromRole>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred.
DetailSUCCESS: Record successfully disassociated.
FAILURE: message regarding the error that occurred.
ID #Description
7Null user ID
12Inexistent user
48Inexistent functional role
49Functional role not entered