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 | |
---|---|
Request | web\wwwroot\ws\java\generic\RemoveUserFromRoleRequestType.java |
Return | web\wwwroot\ws\java\generic\RemoveUserFromRoleResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IdRole | X | Functional role ID # |
IdUser | X | User 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 |
---|---|
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred. |
Detail | SUCCESS: Record successfully disassociated. FAILURE: message regarding the error that occurred. |
ID # | Description |
---|---|
7 | Null user ID |
12 | Inexistent user |
48 | Inexistent functional role |
49 | Functional role not entered |