Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Request and response for the Enable Users operation


The Enable Users operation enables multiple user accounts.

The following table describes the elements for the <items> XML element and adapter request for the Enable Users operation:

 Elements for the <items> XML element and adapter request for the Enable Users operation

The following figure shows a sample adapter request for the Enable Users operation:

Adapter request for the Enable Users operation

<active-directory-request>
   <target>
     <host>vm-w23-rds19</host>
     <user-name>administrator</user-name>
     <password>bmcAdm1n</password>
   </target>
   <commands>
     <command>
       <active-directory-command>Enable Users</active-directory-command>
       <object-class>User</object-class>
       <parameters>
         <data-file>C:\AD Files\users.csv</data-file>
         <server>vm-w23-rds19</server>
         <user-name>administrator</user-name>
         <password>bmcAdm1n</password>
       </parameters>
     </command>
   </commands>
 </active-directory-request>


The following figure shows a sample adapter response for the Enable Users operation:

Sample adapter response for the Enable Users operation

<active-directory-response>
 <metadata>
   <status>success</status>
 </metadata>
 <target-output host="vm-w23-rds19">
   <metadata>
     <os-id>Windows 2003</os-id>
     <os-version>5.2 Build 3790 Service Pack 2</os-version>
     <status>success</status>
   </metadata>
   <commands-output>
     <command-output>
       <metadata>
         <command>dsmod user  "CN=TestUser-01,OU=Test-Users-OU,
   DC=vm-w23-rds19,DC=local" -disabled no -s "vm-w23-rds19" 
   -u "administrator" -p "bmcAdm1n"</command>
         <line-count>6</line-count>
         <execution-milliseconds>1906</execution-milliseconds>
         <exit-code>0</exit-code>
         <status>success</status>
       </metadata>
       <output>
         <line index="1">Attempting to connect to remote host...</line>
         <line index="2">Initialising rctrlx server component...</line>
         <line index="3">Executing remote application: cmd /c dsmod user
   "CN=TestUser-01,OU=Test-Users-OU,DC=vm-w23-rds19,
   DC=local" -disabled no -s "vm-w23-rds19" -u "administrator" 
   -p "bmcAdm1n"</line>
         <line index="4">Remote application process ID: 1896</line>
         <line index="5">dsmod succeeded:CN=TestUser-01,OU=Test-Users-OU,
   DC=vm-w23-rds19,DC=local</line>
         <line index="6">Remote application exited with code: 0</line>
       </output>
          -
          -
          -
          -
          -

     </command-output>
   </commands-output>
 </target-output>
</active-directory-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

(archive) BMC Atrium Orchestrator Application Adapters 20.12.01