isRealmUser

Returns true if the specified user belongs to the realm that corresponds to the session ID.

Applies to Clouds and Integration Appliances.

Parameter:

username
The specified user.
Returns:
True if the user belongs to the realm.

Examples:

The following example is a SOAP request to check if the specified user belongs to the realm.
<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:isRealmUser>
   <sec:username>admin@mycompany.com</sec:username>
  </sec:isRealmUser>
 </soapenv:Body>
</soapenv:Envelope>
The following example is the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:isRealmUserResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
  router/1000/security/03">
   <ns2:isRealmUser>true</ns2:isRealmUser>
  </ns2:isRealmUserResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Wednesday, December 16, 2015


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