User to query ad

Discussion in 'ASP .Net' started by mike.drewery@gmail.com, Feb 27, 2013.

  1. Guest

    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
     
    , Feb 27, 2013
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Learner
    Replies:
    1
    Views:
    1,026
    Marina Levit [MVP]
    Jan 30, 2006
  2. Anonymous
    Replies:
    0
    Views:
    1,550
    Anonymous
    Oct 13, 2005
  3. David Gordon

    xpath query query

    David Gordon, May 18, 2005, in forum: XML
    Replies:
    2
    Views:
    832
    David Gordon
    May 18, 2005
  4. Replies:
    2
    Views:
    996
  5. Eric Nelson
    Replies:
    5
    Views:
    1,578
    Alexey Smirnov
    Feb 4, 2009
Loading...

Share This Page