Password Control – Extending

Password Control can be extended by adding VBS script files in the “Scripts” folder of the Password Control application directory.  These Scripts will appear in a “Tools” menu in the Password Control application.

Example 1 – Adding a “Delete User” option

In this example we will write a VBS Script to delete the selected user account in Password Control.  Password Control will enumerate all the VBS files in the “Scripts” folder and display them as options in the tools menu.  Password Control will pass the ADsPath of the current user to the script, allowing us to know which user is currently selected.

Example 2 – Adding a shortcut to Active Directory Users and Computers

In this example we don’t need to verify if a valid user has been selected in Password Control.