Share via


StoreConfiguration.SetEnterpriseStoreWebAccountId(String) 方法

定義

設定目前登入市集之 Azure AD 使用者的市集使用者帳戶識別碼,讓其他應用程式可以查詢此識別碼。

public:
 static void SetEnterpriseStoreWebAccountId(Platform::String ^ webAccountId);
 static void SetEnterpriseStoreWebAccountId(winrt::hstring const& webAccountId);
public static void SetEnterpriseStoreWebAccountId(string webAccountId);
function setEnterpriseStoreWebAccountId(webAccountId)
Public Shared Sub SetEnterpriseStoreWebAccountId (webAccountId As String)

參數

webAccountId
String

Platform::String

winrt::hstring

市集使用者帳戶識別碼 (通常是從 WebAccount.Id 屬性取得,) 為目前登入市集的 Azure AD 使用者設定。

Windows 需求

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

適用於