IdentityUser<TKey>.UserName Eigenschaft

Definition

Ruft den Benutzernamen für diesen Benutzer ab oder legt diesen fest.

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

Eigenschaftswert

Attribute

Gilt für: