Share via


WebAccountManager.SetPerAppToPerUserAccountAsync(WebAccount, String) Method

Definition

Creates a per-app to per-user account link.

public:
 static IAsyncAction ^ SetPerAppToPerUserAccountAsync(WebAccount ^ perAppAccount, Platform::String ^ perUserWebAccountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount const& perAppAccount, winrt::hstring const& perUserWebAccountId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetPerAppToPerUserAccountAsync(WebAccount perAppAccount, string perUserWebAccountId);
function setPerAppToPerUserAccountAsync(perAppAccount, perUserWebAccountId)
Public Shared Function SetPerAppToPerUserAccountAsync (perAppAccount As WebAccount, perUserWebAccountId As String) As IAsyncAction

Parameters

perAppAccount
WebAccount

The per-app web account.

perUserWebAccountId
String

Platform::String

winrt::hstring

The web account Id of the per-user web account to link.

Returns

This method does not return a value.

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to