Share via


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

Platform::String

winrt::hstring

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 requirements

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

Applies to