Need to impersonate Windows Authentication in Web.config file
Hi,
My current code is as below:
<system.web>
<authentication mode="Windows" />
<identity impersonate="true" userName="user_name" password="pwd" />
</system.web>
If I remove the identity element, UI does't populate data. My requirement is to use windows authentication instead of hard coded user name.
Can you please suggest how can I replace userName="user_name" password="pwd" with logged in windows user?
Thanks,
Sandeep
|