IUser.Identifier Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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