Share via


UserDataAccountSystemAccessManager.AddAndShowDeviceAccountsAsync Method

Definition

Asynchronously displays the system UI to manage the sync relationships for the specified accounts.

public:
 static IAsyncOperation<IVectorView<Platform::String ^> ^> ^ AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration ^> ^ accounts);
 static IAsyncOperation<IVectorView<winrt::hstring>> AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration> const& accounts);
public static IAsyncOperation<IReadOnlyList<string>> AddAndShowDeviceAccountsAsync(IEnumerable<DeviceAccountConfiguration> accounts);
function addAndShowDeviceAccountsAsync(accounts)
Public Shared Function AddAndShowDeviceAccountsAsync (accounts As IEnumerable(Of DeviceAccountConfiguration)) As IAsyncOperation(Of IReadOnlyList(Of String))

Parameters

accounts

IIterable<DeviceAccountConfiguration>

IEnumerable<DeviceAccountConfiguration>

The list of accounts to manage in the system UI.

Returns

Returns an updated list of accounts.

Windows requirements

App capabilities
userDataAccountsProvider

Applies to