Bagikan melalui


IdentityUser<TKey>.UserName Properti

Definisi

Mendapatkan atau menyetel nama pengguna untuk pengguna ini.

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

Nilai Properti

Atribut

Berlaku untuk