StoreConfiguration.SetStoreWebAccountId(String) Method

Definition

Sets the Store user account ID for the current user who is signed in to the Store so that other apps can query against this ID.

public:
 static void SetStoreWebAccountId(Platform::String ^ webAccountId);
 static void SetStoreWebAccountId(winrt::hstring const& webAccountId);
public static void SetStoreWebAccountId(string webAccountId);
function setStoreWebAccountId(webAccountId)
Public Shared Sub SetStoreWebAccountId (webAccountId As String)

Parameters

webAccountId
String

Platform::String

winrt::hstring

The Store user account ID (typically obtained from the WebAccount.Id property) to set for the user who is currently signed in to the Store.

Applies to