The actual code for programming AD in .NET is pretty similar to ADSI (since it uses ADSI under the hood). There is a more powerful, strongly typed search interface called the DirectorySearcher that is actually much more powerful an easier to use than ADO for searching. All in all, it really isn't that hard.
The difficult part is the security aspects of connecting to the directory. There really aren't any shortcuts here, and most of the same issues would exist in an ASP page (you actually have fewer choices in ASP, but the same basic problems). Once you decide if you want trusted subsystem or delegated model for authentication, the rest falls into place. The other issue is that you'll likely spend more time on the HTML/UI aspects of the control than you will on the LDAP parts. That's the way it always seems to work out. :) Joe K. On 10/11/06, Ramon Linan <[EMAIL PROTECTED]> wrote:
Frustrating!, :) sounds very hard to do for a .net newbie like me. I have work with Zope and Plone before and everything is much easier... Unluckily, we cant use Plone or other CMS I am more familiar with, and I need to create this "tool", webpart or whatever so the users can update their contact info. I have done a few scripts in asp to display information from AD even to change information in AD, my problem is how to do that inside SharePoint, unless I can create an external page to do this and have a link in the SharePoint site... Anyway, thanks for the info, I will get your book to see if figure things out. Thanks
List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.activedir.org/ml/threads.aspx