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
Boolean
bool
True if the user account specified by webAccountId is the same account that is signed in to the Microsoft Store; otherwise false.