469,903 Members | 1,998 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

ADSI vs. System.DirectoryServices

I have a asp.net application that needs to access Active Directory information.

I setup the retrieval using System.DirectoryServices to access directReports
of a user together with directReports of managers that the user is an
assistant to. The problem is it takes a long time to retrieve the
information (> 11 seconds).

I then setup the retrieval using ADSI com object and the retrieval only
takes 3 seconds. Using the getex method is a lot quicker. There doesn't
seem to be anything in DirectoryServices that replicates that method.

Does anyone know if there is any issues using the old retrieval method (ADSI
com object) vs. using the new DirectoryServices namespace in .NET?

Barbara Alderton
Nov 18 '05 #1
0 955

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.