Dela via


WebAuthenticationCoreManager.FindAllAccountsAsync Method

Definition

Overloads

FindAllAccountsAsync(WebAccountProvider)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

FindAllAccountsAsync(WebAccountProvider, String)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

FindAllAccountsAsync(WebAccountProvider)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

public:
 static IAsyncOperation<FindAllAccountsResult ^> ^ FindAllAccountsAsync(WebAccountProvider ^ provider);
/// [Windows.Foundation.Metadata.Overload("FindAllAccountsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<FindAllAccountsResult> FindAllAccountsAsync(WebAccountProvider const& provider);
[Windows.Foundation.Metadata.Overload("FindAllAccountsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<FindAllAccountsResult> FindAllAccountsAsync(WebAccountProvider provider);
function findAllAccountsAsync(provider)
Public Shared Function FindAllAccountsAsync (provider As WebAccountProvider) As IAsyncOperation(Of FindAllAccountsResult)

Parameters

provider
WebAccountProvider

The ID provider that owns the accounts to be retrieved.

Returns

An asynchronous find operation. On successful completion, contains a FindAllAccountsResult object representing the result of the account retrieval.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to

FindAllAccountsAsync(WebAccountProvider, String)

Enumerates all of the accounts that have been added by a user for a particular ID provider.

public:
 static IAsyncOperation<FindAllAccountsResult ^> ^ FindAllAccountsAsync(WebAccountProvider ^ provider, Platform::String ^ clientId);
/// [Windows.Foundation.Metadata.Overload("FindAllAccountsWithClientIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<FindAllAccountsResult> FindAllAccountsAsync(WebAccountProvider const& provider, winrt::hstring const& clientId);
[Windows.Foundation.Metadata.Overload("FindAllAccountsWithClientIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<FindAllAccountsResult> FindAllAccountsAsync(WebAccountProvider provider, string clientId);
function findAllAccountsAsync(provider, clientId)
Public Shared Function FindAllAccountsAsync (provider As WebAccountProvider, clientId As String) As IAsyncOperation(Of FindAllAccountsResult)

Parameters

provider
WebAccountProvider

The ID provider that owns the accounts to be retrieved.

clientId
String

Platform::String

winrt::hstring

The ID of the client application.

Returns

An asynchronous find operation. On successful completion, contains a FindAllAccountsResult object representing the result of the account retrieval.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to