IClientApplicationBase.GetAccountAsync(String) Method
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.
public System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount> GetAccountAsync (string identifier);
abstract member GetAccountAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
Public Function GetAccountAsync (identifier As String) As Task(Of IAccount)
Parameters
- identifier
- String
Account identifier. The value of the identifier will probably have been stored value from the value of the Identifier property of AccountId. You typically get the account ID from an IAccount by using the HomeAccountId property.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för