StoreConfiguration.GetEnterpriseStoreWebAccountIdForUser(User) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取登录到应用商店的指定 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 用户。
返回
指定用户的应用商店用户帐户 ID。
Windows 要求
设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
|