what is the use of identity impersonate="true"?

Posted by Prabu_Spark under ASP.NET on 4/6/2013 | Points: 10 | Views : 2797 | Status : [Member] | Replies : 1
Hi sir,
I want to know use of identity impersonate="true" in web.config. Can you give me the sample codes
to understand clearly. Kindly give me the solution for this problem. I attached the below code
in web.config, but i dont know the exact usage of impersonate.

<identity impersonate="true" userName="krish" password="krish@123"/>

With regards,


Posted by: Pawansoftit on: 4/6/2013 [Member] Starter | Points: 25

Hai Prabu,
The <Identity> element in the web.config file is used to control the identity of the Web application. Impersonate is the attribute which is used whether the impersonation is used on each request or not based on its value.
With the Impersonation attribute, we provides the value either true or false with the user name and password which indicates that the application should take these credential automatically for running the application.
For more detailed description, you can follow the below MSDN link:
Hope it will be helpful to you.

Pawan Awasthi
+91 8123489140(WhatsApp)

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response