Share via


WebAccountManager.FindAllProviderWebAccountsForUserAsync(User) Method

Definition

Finds all provider web accounts associated with a given user asynchronously (for use with multi-user-aware apps).

public:
 static IAsyncOperation<IVectorView<WebAccount ^> ^> ^ FindAllProviderWebAccountsForUserAsync(User ^ user);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<WebAccount>> FindAllProviderWebAccountsForUserAsync(User const& user);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<WebAccount>> FindAllProviderWebAccountsForUserAsync(User user);
function findAllProviderWebAccountsForUserAsync(user)
Public Shared Function FindAllProviderWebAccountsForUserAsync (user As User) As IAsyncOperation(Of IReadOnlyList(Of WebAccount))

Parameters

user
User

The user associated with the accounts.

Returns

When this method completes, it returns all provider web accounts for the user.

Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to