FormsAuthenticationUser.Name Property
.NET Framework (current version)
Gets or sets the logon user name.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("name", IsRequired := True, IsKey := True, DefaultValue := "")> <TypeConverterAttribute(GetType(LowerCaseStringConverter))> <StringValidatorAttribute> Public Property Name As String
The following code example shows how to use the Name property. Refer to the code example in the FormsAuthenticationUser class topic to learn how to get the section.
.NET Framework
Available since 2.0
Available since 2.0
Show: