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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for