ClientFormsAuthenticationCredentials.UserName Property

 

Gets or sets the user name.

Namespace:   System.Web.ClientServices.Providers
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

member UserName : string with get, set

Property Value

Type: System.String

The user name.

The ClientFormsAuthenticationMembershipProvider class uses this property to retrieve the user name during authentication. You will not typically use this property in your application code. Instead, you will use the class constructor to set the user name.

.NET Framework
Available since 3.5
Return to top
Show: