Partilhar via


IUser.Identifier Property

Definition

Caution

Use IAccount.HomeAccountId.Identifier instead to get the user identifier (See https://aka.ms/msal-net-2-released)

In MSAL.NET 1.x was an identifier for the user in the guest tenant. From MSAL.NET 2.x, use HomeAccountIdIdentifier to get the user identifier (globally unique across tenants). See https://aka.ms/msal-net-2-released for more details.

[System.Obsolete("Use IAccount.HomeAccountId.Identifier instead to get the user identifier (See https://aka.ms/msal-net-2-released)", true)]
public string Identifier { get; }
[<System.Obsolete("Use IAccount.HomeAccountId.Identifier instead to get the user identifier (See https://aka.ms/msal-net-2-released)", true)>]
member this.Identifier : string
Public ReadOnly Property Identifier As String

Property Value

Attributes

Applies to