ASP.NET Syntax ASP.NET Configuration Sections
Controls the application identity of the Web application.
<identity
impersonate = "true | false"
userName = "username"
password = "password" />
The <identity
> tag supports three attributes.
Attribute |
Option |
Description |
impersonate |
|
Specifies whether client impersonation is used on each request. |
|
true |
Specifies that client impersonation is used. |
|
false |
Specifies that client impersonation is not used. |
userName |
|
Specifies the user name to use if impersonation is set to false. |
password |
|
Specifies the password to use if impersonation is set to false. |
The following example sets client identity impersonation to true.
<configuration>
<system.web>
<identity impersonate = "true" />
</system.web>
</configuration>
ASP.NET Configuration IdentitySection Class