Share via


WebAuthenticationCoreManager.FindAccountAsync Method

Definition

Asynchronously attempts to find a web account provider.

public:
 static IAsyncOperation<WebAccount ^> ^ FindAccountAsync(WebAccountProvider ^ provider, Platform::String ^ webAccountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<WebAccount> FindAccountAsync(WebAccountProvider const& provider, winrt::hstring const& webAccountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<WebAccount> FindAccountAsync(WebAccountProvider provider, string webAccountId);
function findAccountAsync(provider, webAccountId)
Public Shared Function FindAccountAsync (provider As WebAccountProvider, webAccountId As String) As IAsyncOperation(Of WebAccount)

Parameters

provider
WebAccountProvider

The web account provider for the web account.

webAccountId
String

Platform::String

winrt::hstring

The identifier of the web account.

Returns

An asynchronous find operation. On successful completion, contains a WebAccount object representing the found web account.

Attributes

Applies to

See also