StoreConfiguration.SetEnterpriseStoreWebAccountIdForUser(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 Azure AD user so that other apps can query against this ID.
public:
static void SetEnterpriseStoreWebAccountIdForUser(User ^ user, Platform::String ^ webAccountId);
static void SetEnterpriseStoreWebAccountIdForUser(User const& user, winrt::hstring const& webAccountId);
public static void SetEnterpriseStoreWebAccountIdForUser(User user, string webAccountId);
function setEnterpriseStoreWebAccountIdForUser(user, webAccountId)
Public Shared Sub SetEnterpriseStoreWebAccountIdForUser (user As User, webAccountId As String)
Parameters
- user
- User
A Windows.System.User object that identifies the Azure AD 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 Azure AD user.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|