다음을 통해 공유


AppInstallManager.GetFreeUserEntitlementForUserAsync 메서드

정의

지정된 사용자에게 지정된 앱에 대한 무료 권한을 부여합니다.

public:
 virtual IAsyncOperation<GetEntitlementResult ^> ^ GetFreeUserEntitlementForUserAsync(User ^ user, Platform::String ^ storeId, Platform::String ^ campaignId, Platform::String ^ correlationVector) = GetFreeUserEntitlementForUserAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GetEntitlementResult> GetFreeUserEntitlementForUserAsync(User const& user, winrt::hstring const& storeId, winrt::hstring const& campaignId, winrt::hstring const& correlationVector);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GetEntitlementResult> GetFreeUserEntitlementForUserAsync(User user, string storeId, string campaignId, string correlationVector);
function getFreeUserEntitlementForUserAsync(user, storeId, campaignId, correlationVector)
Public Function GetFreeUserEntitlementForUserAsync (user As User, storeId As String, campaignId As String, correlationVector As String) As IAsyncOperation(Of GetEntitlementResult)

매개 변수

user
User

권한을 부여하려는 사용자를 나타내는 Windows.System.User 개체입니다.

storeId
String

Platform::String

winrt::hstring

자격을 부여하려는 앱의 스토어 ID입니다.

campaignId
String

Platform::String

winrt::hstring

자격과 연결된 캠페인의 ID입니다.

correlationVector
String

Platform::String

winrt::hstring

원격 분석 데이터를 생성하는 데 사용할 수 있는 상관 관계 벡터 문자열입니다.

반환

성공적으로 완료될 때 권한 부여의 상태 나타내는 GetEntitlementResult 개체를 반환하는 비동기 작업입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
앱 기능
runFullTrust

적용 대상