Share via


StoreConfiguration.GetStoreWebAccountIdForUser(User) 方法

定義

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

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

參數

user
User

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

傳回

String

Platform::String

winrt::hstring

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

Windows 需求

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

適用於