Insert data into Active Directory via SQL SERVER

1

I'm working with integration between Sql Server and Active Directory. I can already import AD information through scripts. I would like to know if it is possible otherwise, through insert commands, to insert information into AD users. For example, all AD users are without the registered title. By an insert command in Sql Server I can insert the information directly into the corresponding field in AD?

    
asked by anonymous 08.08.2014 / 16:53

1 answer

3
  

Warning : As agreed with the question's author, this response is not intended to answer exactly what was requested, but rather to provide alternatives for manipulating Active Directory data using other languages and platforms.

Inserting information through SQL Server into Active Directory could be an unsafe practice with unpredictable results. Therefore, the feature was not enabled. What SQL Server can do is get query-level information.

Thus, there is still the possibility of inserting information using alternative methods, in applications written in languages such as C # and VBScript.

There is a large article in CodeProject in which are explained several functionalities that can be implemented to perform various insertion tasks.

For VBScript and BAT , There is this site with hundreds of examples for the most varied tasks.

    
15.08.2014 / 22:38