iRobo.Activity.Change User Password

Change a specified user account's password in the Active Directory.                                                                        


     Note: 

         Active Directory Scope Activity is designed to hold all Active Directory Activities.          

   

                                       

                                                                       

Properties

Input

  • Account Name - enter Active directory Account Name. (Mandatory)
  • Password - enter new user password as secure String. (Mandatory)


Misc

  • DisplayName -  Activity header name.


Steps of Using Change User Password Activity   

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Activity Directory Scope to the Sequence.
  3. Enter Active Directory Distinguished Name in Distinguished Name in Input as String within "".
  4. Enter Active Directory Domain Name in Domain Name in Input as String within "".
  5. Drag Change User Password Activity into Activity Directory Scope Activity.
  6. Enter user account name as String within "" in Account Name in Input in Properties Panel.
  7. Create a secure string Variable and name it Password, then add it to Password in Input in Properties Panel; to create a user account password.
  8. Create a String Variable and name it plain, then add it to Password in Input in Properties Panel.
  9. Drag Assign Activity before the Change User Password Activity.
  10. Enter Password variable in To in the Assign Activity.
  11. Enter this line "new System.Net.NetworkCredential("", plain).SecurePassword" after = which will convert the String into a Secure String, as shown in the image below.

     

  1. Click the Save button from iRobo Studio Menu to save Workflow.
  2. Click the Play button to start the automated process, the specified user account's password in the Active Directory is changed.


Created with the Personal Edition of HelpNDoc: Produce electronic books easily