StoreConfiguration.SetEnterpriseStoreWebAccountId(String) Method

Definition

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

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

Parameters

webAccountId
String

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

Windows 10 requirements

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

Applies to