Running SQL Server 2008 (10.0.5520) - I have a trigger that is executed when a new record is added to the security table. I would like to extend this trigger, and create an entry in the AD system with a couple of the parameters from the insert.
Question is: can this be accomplished? If so, how?
It looks like a command line tool does exist:
To create a contact named Jeff Hay in a top-level OU named Service Dept in the fabrikam.com domain, at a command prompt, type the following command, and then press ENTER:
dsadd contact "cn=Jeff Hay,ou=service dept,dc=fabrikam,dc=com"
Can this command line be executed from the trigger?