Share via


StoreConfiguration.GetEnterpriseStoreWebAccountIdForUser(User) 方法

定義

取得已登入市集之指定 Azure AD 使用者的市集使用者帳戶識別碼。

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

參數

user
User

Windows.System.User物件,識別您想要擷取使用者帳戶識別碼的 Azure AD 使用者。

傳回

String

Platform::String

winrt::hstring

指定使用者的 Store 使用者帳戶識別碼。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於