你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PowerShellTokenCacheProvider.GetSubscriptionsFromTenantToken Method

Definition

public System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription> GetSubscriptionsFromTenantToken (Microsoft.Identity.Client.IAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, Microsoft.Azure.Commands.Common.Authentication.IAccessToken token, Action<string> promptAction);
member this.GetSubscriptionsFromTenantToken : Microsoft.Identity.Client.IAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Microsoft.Azure.Commands.Common.Authentication.IAccessToken * Action<string> -> System.Collections.Generic.List<Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureSubscription>
Public Function GetSubscriptionsFromTenantToken (account As IAccount, environment As IAzureEnvironment, token As IAccessToken, promptAction As Action(Of String)) As List(Of IAzureSubscription)

Parameters

account
IAccount
environment
IAzureEnvironment
token
IAccessToken
promptAction
Action<String>

Returns

Applies to