System.Web.Configuration.IdentitySection.UserName Property

Gets or sets a value indicating the user name to use for impersonation.

Syntax

[System.Configuration.ConfigurationProperty("userName", DefaultValue="")]
public string UserName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Because the user name is stored in clear text, an authenticated user with proper credentials on the domain where the server resides can read it.

Note:

For security reasons, the identity section supports storage of the encrypted IdentitySection.UserName and IdentitySection.Password.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0