Share via


StoreConfiguration.GetEnterpriseStoreWebAccountIdForUser(User) Method

Definition

Gets the Store user account ID for the specified Azure AD user who is signed in to the Store.

public:
 static Platform::String ^ GetEnterpriseStoreWebAccountIdForUser(User ^ user);
 static winrt::hstring GetEnterpriseStoreWebAccountIdForUser(User const& user);
public static string GetEnterpriseStoreWebAccountIdForUser(User user);
function getEnterpriseStoreWebAccountIdForUser(user)
Public Shared Function GetEnterpriseStoreWebAccountIdForUser (user As User) As String

Parameters

user
User

A Windows.System.User object that identifies the Azure AD user for which you want to retrieve the user account ID.

Returns

String

Platform::String

winrt::hstring

The Store user account ID for the specified user.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to