StoreConfiguration.SetStoreWebAccountIdForUser(User, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Store user account ID for the specified user so that other apps can query against this ID.
public:
static void SetStoreWebAccountIdForUser(User ^ user, Platform::String ^ webAccountId);
static void SetStoreWebAccountIdForUser(User const& user, winrt::hstring const& webAccountId);
public static void SetStoreWebAccountIdForUser(User user, string webAccountId);
function setStoreWebAccountIdForUser(user, webAccountId)
Public Shared Sub SetStoreWebAccountIdForUser (user As User, webAccountId As String)
Parameters
- user
- User
A Windows.System.User object that identifies the user whose Store user account ID you want to set.
- webAccountId
-
String
Platform::String
winrt::hstring
The Store user account ID (typically obtained from the WebAccount.Id property) to set for the specified user.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|