WebAuthenticationCoreManager.FindAllAccountsAsync 方法

定義

多載

FindAllAccountsAsync(WebAccountProvider)

列舉使用者針對特定識別碼提供者新增的所有帳戶。

FindAllAccountsAsync(WebAccountProvider, String)

列舉使用者針對特定識別碼提供者新增的所有帳戶。

FindAllAccountsAsync(WebAccountProvider)

列舉使用者針對特定識別碼提供者新增的所有帳戶。

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)

參數

provider
WebAccountProvider

擁有要擷取之帳戶的識別碼提供者。

傳回

非同步尋找作業。 成功完成時,包含代表帳戶擷取結果的 FindAllAccountsResult 物件。

屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

適用於

FindAllAccountsAsync(WebAccountProvider, String)

列舉使用者針對特定識別碼提供者新增的所有帳戶。

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)

參數

provider
WebAccountProvider

擁有要擷取之帳戶的識別碼提供者。

clientId
String

Platform::String

winrt::hstring

用戶端應用程式的識別碼。

傳回

非同步尋找作業。 成功完成時,包含代表帳戶擷取結果的 FindAllAccountsResult 物件。

屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

適用於