Share via


StoreConfiguration.GetStoreWebAccountIdForUser(User) Method

Definition

Gets the Store user account ID for the specified user who is signed in to the Store.

public:
 static Platform::String ^ GetStoreWebAccountIdForUser(User ^ user);
 static winrt::hstring GetStoreWebAccountIdForUser(User const& user);
public static string GetStoreWebAccountIdForUser(User user);
function getStoreWebAccountIdForUser(user)
Public Shared Function GetStoreWebAccountIdForUser (user As User) As String

Parameters

user
User

A Windows.System.User object that identifies the user for which you want to retrieve the Store user account ID.

Returns

String

Platform::String

winrt::hstring

The Store user account ID for the specified user.

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