Layer 7 Identity Management

TEWS Sample 

09-26-2017 04:52 PM

TaskSOAP Request
Create Active Directory Group<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
   <soapenv:Header/>
   <soapenv:Body>
      <wsdl:TaskContext>
         <wsdl:admin_id>tews_admin_user</wsdl:admin_id>
         <wsdl:admin_password>password</wsdl:admin_password>
      </wsdl:TaskContext>
      <wsdl:CreateActiveDirectoryGroup>
         <wsdl:CreateActiveDirectoryGroupSearch>
            <wsdl:CreateNew>TRUE</wsdl:CreateNew>
            <wsdl:EndpointGroupSearch>
                 <wsdl:ContainerHandle>
                 ADSOrgUnit=Utenti,EndPoint=<endpoint_name>,Namespace=ActiveDirectory,Domain=im,Server=Server
            </wsdl:ContainerHandle>

            </wsdl:EndpointGroupSearch>
         </wsdl:CreateActiveDirectoryGroupSearch>     
         <wsdl:CreateActiveDirectoryGroupActiveDirectoryGroupGroupTab>
            <wsdl:_PCT_ENDPOINT_CAPABILITY_NAME_PCT_>grp_test_by_tews</wsdl:_PCT_ENDPOINT_CAPABILITY_NAME_PCT_>
            <wsdl:ntAccountId>grp_test_by_tews</wsdl:ntAccountId>
            <wsdl:ADSdescription>TEST</wsdl:ADSdescription>
            <wsdl:groupScopeInternal>Global</wsdl:groupScopeInternal>
            <wsdl:groupTypeInternal>Security</wsdl:groupTypeInternal>
            <wsdl:info>TEST</wsdl:info>
         </wsdl:CreateActiveDirectoryGroupActiveDirectoryGroupGroupTab>            
      </wsdl:CreateActiveDirectoryGroup>
   </soapenv:Body>
</soapenv:Envelope>
View Active Directory Groups List

 

Is it possible to setup a filter to obtain a list of specific groups
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
   <soapenv:Header/>
   <soapenv:Body>
       <wsdl:TaskContext>
         <wsdl:admin_id>tews_admin_user</wsdl:admin_id>
         <wsdl:admin_password>password</wsdl:admin_password>
      </wsdl:TaskContext>
      <wsdl:ViewActiveDirectoryGroupSearch>

 

<!-- container filter and explore only one level -->      
         <wsdl:EndpointGroupSearch>
            <wsdl:ContainerHandle>
            ADSOrgUnit=Utenti,EndPoint=<endpoint_name>,Namespace=ActiveDirectory,Domain=im,Server=Server
            </wsdl:ContainerHandle>

            <wsdl:ExploreMethod>One Level</wsdl:ExploreMethod>
         </wsdl:EndpointGroupSearch>
         
<!-- group filter -->
         <wsdl:Filter index="0">
            <wsdl:Field>%ENDPOINT_CAPABILITY_NAME%</wsdl:Field>
            <wsdl:Op>EQUALS</wsdl:Op>
            <wsdl:Value>*</wsdl:Value>
         </wsdl:Filter>
        
      </wsdl:ViewActiveDirectoryGroupSearch>
   </soapenv:Body>
</soapenv:Envelope>
Create Active Directory Account Template (by copy).

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://tews6/wsdl">
     <soapenv:Header/>
     <soapenv:Body>

   <wsdl:TaskContext>
    <wsdl:admin_id>tews_admin_user</wsdl:admin_id>
    <wsdl:admin_password>password</wsdl:admin_password>
   </wsdl:TaskContext>
  
   <wsdl:CreateActiveDirectoryAccountTemplate>
     <wsdl:CreateActiveDirectoryAccountTemplateSearch>
      <wsdl:CreateCopy>true</wsdl:CreateCopy>
     
<wsdl:Subject>
<wsdl:UniqueName>Policy=Test_MyADSAccountPolicy,Namespace=ActiveDirectory,Domain=im,Server=Server</wsdl:UniqueName>

</wsdl:Subject>

</wsdl:CreateActiveDirectoryAccountTemplateSearch>

<wsdl:CreateActiveDirectoryAccountTemplateActiveDirectoryAccountTemplateAccountTemplateTab>
<wsdl:_PCT_ACCOUNT_TEMPLATE_NAME_PCT_>Test_MyNewADSAccountPolicy</wsdl:_PCT_ACCOUNT_TEMPLATE_NAME_PCT_>
</wsdl:CreateActiveDirectoryAccountTemplateActiveDirectoryAccountTemplateAccountTemplateTab>
</wsdl:CreateActiveDirectoryAccountTemplate>

</soapenv:Body>
</soapenv:Envelope>

Statistics
0 Favorited
5 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

09-28-2017 04:17 AM

Wow this is great and thanks for sharing. Very useful indeed. But I think you should move this to Identity Management communities.

KR
Russi

Related Entries and Links

No Related Resource entered.