IdentityUser<TKey>.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 for this user.
public:
virtual property System::String ^ UserName { System::String ^ get(); void set(System::String ^ value); };
public virtual string UserName { get; set; }
[Microsoft.AspNetCore.Identity.ProtectedPersonalData]
public virtual string UserName { get; set; }
[Microsoft.AspNetCore.Identity.ProtectedPersonalData]
public virtual string? UserName { get; set; }
member this.UserName : string with get, set
[<Microsoft.AspNetCore.Identity.ProtectedPersonalData>]
member this.UserName : string with get, set
Public Overridable Property UserName As String
Property Value
- Attributes