共用方式為


IAccount.HomeAccountId Property

Definition

AccountId of the home account for the user. This uniquely identifies the user across AAD tenants.

public Microsoft.Identity.Client.AccountId HomeAccountId { get; }
member this.HomeAccountId : Microsoft.Identity.Client.AccountId
Public ReadOnly Property HomeAccountId As AccountId

Property Value

Remarks

Can be null, for example if this account was migrated to MSAL.NET from ADAL.NET v3's token cache

Applies to