clearPrivileges
Clears privileges for the specified target, such as a user.
Applies to Clouds and Integration Appliances.
Parameter:
- target
- The specified target.
- Returns:
- True if the privileges are cleared for the specified target.
Examples:
The following code is an example
of a SOAP request to create a user.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>B87CDEE24C7AE5EE4B1C00158EBC483D</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:clearPrivileges>
<sec:target>pubuser</sec:target>
</sec:clearPrivileges>
</soapenv:Body>
</soapenv:Envelope>
The following code is the
SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:clearPrivilegesResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
router/1000/security/03">
<return>true</return>
</ns2:clearPrivilegesResponse>
</S:Body>
</S:Envelope>