Microsoft.Identity.Client.Account
Contains information about a single account. A user can be present in multiple directories and thus have multiple accounts.
This information is used for token cache lookup and enforcing the user session on the STS authorize endpoint.
Gets the source of the account. For example, device code flow, broker etc.
Gets the environment associated with the account. For example, login.microsoftonline.com.
Gets additional account identifiers, such as object ID, tenant ID, and the unique identifier.
Gets the list of tenant profiles.
Gets the username associated with the account. For example, account@example.com.
public Account(string homeAccountId, string username, string environment, string accountsource = null, IDictionary<string, string> wamAccountIds = null, IEnumerable<TenantProfile> tenantProfiles = null)
Constructor for the account instance.