Edit

Share via


ClientFormsAuthenticationCredentials.UserName Property

Definition

Gets or sets the user name.

public:
 property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public string UserName { get; set; }
member this.UserName : string with get, set
Public Property UserName As String

Property Value

The user name.

Remarks

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.

Applies to

See also