StoreConfiguration.GetEnterpriseStoreWebAccountIdForUser(User) 方法

定义

获取登录到应用商店的指定 Azure AD 用户的应用商店用户帐户 ID。

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 对象,用于标识要检索其用户帐户 ID 的 Azure AD 用户。

返回

String

Platform::String

winrt::hstring

指定用户的应用商店用户帐户 ID。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于