roleExists

Checks if the specified role exists. Returns true if the role exists.

Applies to Clouds and Integration Appliances.

Parameter:

role
The specified role to be checked to see if it exists.
Returns:
True if the specified role exists.

Examples:

The following example is a SOAP request to check if a role exists.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
 <soapenv:Header>
  <sec:sessionId>A85C21BB99E816D48800C90B2C5547D4</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:roleExists>
   <sec:name>securitymonitor</sec:name>
  </sec:roleExists>
 </soapenv:Body>
</soapenv:Envelope>
The following example is a SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:roleExistsResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
  router/1000/security/03">
   <ns2:roleExists>true</ns2:roleExists>
  </ns2:roleExistsResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Thursday, 2 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00052.html