Share via


StoreConfiguration.IsStoreWebAccountId(String) Method

Definition

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.

Applies to