December 9, 2010 at 6:06 am
I would like to update active directory users using stored procedure. But I am not able to connect to Active directory
I get error.
How do I connect to active directory from management studio ?
December 12, 2010 at 11:00 am
afaik you can only read information from Active Directory through SQL Server. SSMS does not have an option to "manage active directory".
You can make use of Powershell. More details here
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
December 12, 2010 at 2:27 pm
Thanks for your reply. I need to update the building and department information from HR database into active directory.
if it's new user then it should create new account in active directory. That is what i need to do?
Is there any other way I can do this?
can I do this VB Scripts or any other way.
December 12, 2010 at 8:11 pm
It is possible through VB Script as well. In addition to the Powershell link which I posted earlier, this has an even bigger repository.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
December 14, 2010 at 10:52 am
Thank you. I am looking into it. And trying to figure how to run vb and powershell scripts from command prompt. As I am new to powershell script.
I am learning something new.
Thank you
December 14, 2010 at 6:15 pm
I am not sure whether still you canmanage from SQL server, howevere, try with os_createmethod(OLEDB programming) using SQL server.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply