ClientFormsAuthenticationCredentials.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.