Share via


IAccount.Username Property

Definition

Gets a string containing the displayable value in UserPrincipalName (UPN) format, e.g. john.doe@contoso.com. This can be null.

public string Username { get; }
member this.Username : string
Public ReadOnly Property Username As String

Property Value

Remarks

This property replaces the DisplayableId property of IUser in previous versions of MSAL.NET

Applies to