Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Active Directory Question

Author  Topic 

jgsteeler
Starting Member

12 Posts

Posted - 2004-09-30 : 10:34:40
I hope some one can help me. My boss wants me to develop a company directory for our Intranet. The info will be in SQL server. we want to be able to run a job every night that goes out and imports information (name, number, office, direct report ect..) from Active Directory. Has anybody done this type of thing? I appreciate any suggestions



Always look on the bright side of life, ta dum, ta dum.

Monthy Python, The Life of Brian

MichaelP
Jedi Yak

2489 Posts

Posted - 2004-09-30 : 13:26:42
Do a search for ADSI. I believe that's the API that you need to access.

Michael

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2004-09-30 : 13:39:28
You can create a linked server to AD in SQL Server. However, it has a huge gotcha, your recordset cannot exceed 1000 rows. Kinda sucks when you work at a company with 7000+ employees..

You might want to tackle this problem outside of SQL Server, as support for accessing AD is much better in C++ or C#.


-ec
Go to Top of Page
   

- Advertisement -