Freigeben über


StoreConfiguration.SetEnterpriseStoreWebAccountId(String) Methode

Definition

Legt die Store-Benutzerkonto-ID für den aktuellen Azure AD-Benutzer fest, der beim Store angemeldet ist, damit andere Apps diese ID abfragen können.

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)

Parameter

webAccountId
String

Platform::String

winrt::hstring

Die Store-Benutzerkonto-ID (in der Regel aus der WebAccount.Id-Eigenschaft ), die für den Azure AD-Benutzer festgelegt werden soll, der derzeit beim Store angemeldet ist.

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)

Gilt für: