Partager via


AuthenticationResult.User Property

Definition

Caution

Use Account instead (See https://aka.ms/msal-net-2-released)

In MSAL.NET 1.x, returned the user who signed in to get the authentication result. From MSAL 2.x rather use Account instead. See https://aka.ms/msal-net-2-released for more details.

[System.Obsolete("Use Account instead (See https://aka.ms/msal-net-2-released)", true)]
public Microsoft.Identity.Client.IUser User { get; }
[<System.Obsolete("Use Account instead (See https://aka.ms/msal-net-2-released)", true)>]
member this.User : Microsoft.Identity.Client.IUser
Public ReadOnly Property User As IUser

Property Value

Attributes

Applies to