Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User to query ad

10 views
Skip to first unread message

mike.d...@gmail.com

unread,
Feb 27, 2013, 10:01:44 AM2/27/13
to
I am trying to work on an app someone else wrote. They used a user to query AD. They made this user a domain user. The web page uses authentication and since AD allows anyone to read it I would like to disable the user. Here is the code

DirectoryEntry de = new DirectoryEntry("LDAP://LABS.PPDI.LOCAL", "Domain\\FaqUser", "password");

How do I get this to use the credentials of the user that is authenticated in to the web page?

Thanks for your input

Mike
0 new messages