User to query ad

mike.drewery

Usenet Archive
Joined
Feb 27, 2013
Messages
1
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top