If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Update Active Directory from SQL Server?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Oct 2007
Posts: 4
Update Active Directory from SQL Server?

I am aware of how to read Active Directory entries using SQL Server, and use that information to update SQL Server data tables. Is it possible to initiate new entries in Active Directory, or update existing entries in Active Directory, from SQL Server? If so, it would give us a way to correct misspellings, add employees to Active Directory, etc. based on our master employee table in SQL Server.

Thanks,
Randy
Reply With Quote
  #2 (permalink)  
Old
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,879
We have our employee database synched up with active directory by exporting flat files from the db to be picked up by this piece of software: Active Directory User Import, Import Tools

It is possible to directly update using managed code (think CLR) but it is not an avenue we have explored in depth here.
__________________
George
Home | Blog
Reply With Quote
  #3 (permalink)  
Old
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,879
FYI the .NET reference you want to reference is System.DirectoryServices
__________________
George
Home | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On