asp.net.ph

Skip Navigation Links

<identity> Section

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.

Syntax Example

The following example sets client identity impersonation to true.

<configuration>
   <system.web>
      <identity impersonate = "true" />
   </system.web>
</configuration>
See Also

ASP.NET Configuration   IdentitySection Class



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note