Share via


StoreConfiguration.HasStoreWebAccountForUser(User) Method

Definition

Determines whether the specified user has a Microsoft Store account.

public:
 static bool HasStoreWebAccountForUser(User ^ user);
 static bool HasStoreWebAccountForUser(User const& user);
public static bool HasStoreWebAccountForUser(User user);
function hasStoreWebAccountForUser(user)
Public Shared Function HasStoreWebAccountForUser (user As User) As Boolean

Parameters

user
User

An object that identifies the user for which to query.

Returns

Boolean

bool

True if the specified userhas a Microsoft Store account; otherwise false.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to