setCurrentScope

このスレッドの現在のスコープを設定します。

Cloud のみに適用されます。

戻り:
現在のスコープが設定された場合は true。

例:

以下の例は、現在のスコープを設定するための SOAP 要求です。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
 <soapenv:Header>
  <sec:sessionId>84B7E4D6D856EB5812EB71896C3547CC</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:setCurrentScope>
   <sec:scopeName>Development</sec:scopeName>
  </sec:setCurrentScope>
 </soapenv:Body>
</soapenv:Envelope>
以下は、要求に対する SOAP 応答の例です。
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:setCurrentScopeResponse xmlns:ns2="http://www.approuter.com/
  schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
  router/1000/security/03">
   <ns2:success>true</ns2:success>
  </ns2:setCurrentScopeResponse>
 </S:Body>
</S:Envelope>