currentScope

Returns the current scope for this thread.

Applies to Clouds only.

Returns:
The current scope.

Examples:

The following example is a SOAP request for the current scope. The input for the request is the session ID.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
 <soapenv:Header>
  <sec:sessionId>85F500F8283BBD9E4F31DCE3FD894442</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:currentScope/>
 </soapenv:Body>
</soapenv:Envelope>
The following example is the SOAP reply to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:currentScopeResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
  router/1000/security/03">
   <ns2:scope>
    <active>true</active>
    <category>enterprise</category>
    <displayName>mycompany.com</displayName>
    <id>B47EAECF6AD14AA028B4EA038CB742D0</id>
    <index>0</index>
    <name>mycompany.com</name>
    <parentId>00000000000000000000000000000000</parentId>
    <type>TENANT</type>
   </ns2:scope>
  </ns2:currentScopeResponse>
 </S:Body>
</S:Envelope>



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


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