다음을 통해 공유


StoreConfiguration.IsStoreWebAccountIdForUser(User, String) 메서드

정의

지정된 사용자 및 사용자 ID도 디바이스의 Microsoft Store에 로그인하는 데 사용되는지 여부를 결정합니다.

public:
 static bool IsStoreWebAccountIdForUser(User ^ user, Platform::String ^ webAccountId);
 static bool IsStoreWebAccountIdForUser(User const& user, winrt::hstring const& webAccountId);
public static bool IsStoreWebAccountIdForUser(User user, string webAccountId);
function isStoreWebAccountIdForUser(user, webAccountId)
Public Shared Function IsStoreWebAccountIdForUser (user As User, webAccountId As String) As Boolean

매개 변수

user
User

쿼리할 사용자를 식별하는 개체입니다.

webAccountId
String

Platform::String

winrt::hstring

검사 사용자 ID(일반적으로 WebAccount.Id 속성에서 가져온)입니다.

반환

Boolean

bool

True이면 webAccountId 에 지정된 사용자 계정이 Microsoft Store에 로그인된 계정과 동일합니다. 그렇지 않으면 false입니다.

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

적용 대상