Accessing AD without Impersonate RRS feed

  • Question

  • User1714206576 posted


    I am trying to change the Impersonate=True (and giving a hard coded user/pw for AD) in web.config so that one of my pages can change the computer description in AD.

    Since the users of the application have access to change this with their OWN accounts, how can I program the web.config (or page) to just use the credentials of the person using the page, eliminating the need for the account to be in web.config?

    I tried commenting out the Impersonate section but received an Access Denied message.

    I am using VB Asp.Net on Visual Studio 2008 SE.

    Thank you,



    Monday, October 29, 2012 10:54 AM