How to use TEWS to execute the "Synchronize User with Account Templates" task
search cancel

How to use TEWS to execute the "Synchronize User with Account Templates" task

book

Article ID: 267219

calendar_today

Updated On:

Products

CA Identity Manager

Issue/Introduction

The customer wanted to know how can they perform "Synchronize User with Account Templates" task using TEWS.

Environment

Release : 14.4

Resolution

You need to Enable Web Services  - checked.

Then you can send request to: http://<IP of your IM>:8080/iam/im/TEWS6/identityEnv

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
   <soapenv:Header>
      <wsdl:DoSynchUserTemplatesTaskContext>
         <!--You may enter the following 11 items in any order-->
         <wsdl:admin_id>username of admin</wsdl:admin_id>
         <!--Optional:-->
         <wsdl:admin_password>admin password</wsdl:admin_password>
         <!--Optional:-->
       
      </wsdl:DoSynchUserTemplatesTaskContext>
   </soapenv:Header>
   <soapenv:Body>
      <wsdl:DoSynchUserTemplates>
         <wsdl:DoSynchUserTemplatesSearch>
            <wsdl:Subject index="?">
               <wsdl:UID>UID of user in question</wsdl:UID>
            </wsdl:Subject>
         </wsdl:DoSynchUserTemplatesSearch>
         <!--Optional:-->
         <wsdl:DoSynchUserTemplatesDoSynchUserTemplatesTab/>
      </wsdl:DoSynchUserTemplates>
   </soapenv:Body>
</soapenv:Envelope>

 

You can create a policy that triggers after for example user activation to send such TEWS to IM. 

 

Additional Information

Very similar to: https://knowledge.broadcom.com/external/article/97740 How to use TEWS to execute the "Synchronize User With Roles" task