Table of Contents

Class AccountExtensions

Namespace
Microsoft.Identity.Client
Assembly
Microsoft.Identity.Client.dll

Extension methods for IAccount

public static class AccountExtensions
Inheritance
AccountExtensions
Inherited Members

Methods

GetTenantProfiles(IAccount)

The same account can exist in its home tenant and also as a guest in multiple other tenants. TenantProfile is derived from the ID token for that tenant.

public static IEnumerable<TenantProfile> GetTenantProfiles(this IAccount account)

Parameters

account IAccount

Returns

IEnumerable<TenantProfile>

Remarks

Only tenants for which a token was acquired will be available in TenantProfiles property.