共用方式為


IdentityUser<TKey>.UserName 屬性

定義

取得或設定這個使用者的使用者名稱。

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

屬性值

屬性

適用於