StoreConfiguration.IsStoreWebAccountId(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.
Determines whether the specified user ID is also being used to sign in to the Microsoft Store on the device.
public:
static bool IsStoreWebAccountId(Platform::String ^ webAccountId);
static bool IsStoreWebAccountId(winrt::hstring const& webAccountId);
public static bool IsStoreWebAccountId(string webAccountId);
function isStoreWebAccountId(webAccountId)
Public Shared Function IsStoreWebAccountId (webAccountId As String) As Boolean
Parameters
- webAccountId
-
String
Platform::String
winrt::hstring
The user ID (typically obtained from the WebAccount.Id property) to check.
Returns
bool
True if the user account specified by webAccountId is the same account that is signed in to the Microsoft Store; otherwise false.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for