Share via


ProtectionPolicyManager.CheckAccessForApp(String, String) 메서드

정의

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

앱과 특정 대상 앱 간의 데이터 전송에 대한 엔터프라이즈 보호 정책 평가를 수행합니다.

public:
 static ProtectionPolicyEvaluationResult CheckAccessForApp(Platform::String ^ sourceIdentity, Platform::String ^ appPackageFamilyName);
 static ProtectionPolicyEvaluationResult CheckAccessForApp(winrt::hstring const& sourceIdentity, winrt::hstring const& appPackageFamilyName);
public static ProtectionPolicyEvaluationResult CheckAccessForApp(string sourceIdentity, string appPackageFamilyName);
function checkAccessForApp(sourceIdentity, appPackageFamilyName)
Public Shared Function CheckAccessForApp (sourceIdentity As String, appPackageFamilyName As String) As ProtectionPolicyEvaluationResult

매개 변수

sourceIdentity
String

Platform::String

winrt::hstring

앱의 원본 엔터프라이즈 ID입니다. 관리되는 전자 메일 주소 또는 도메인입니다. 앱은 IsIdentityManaged를 사용하여 이메일 주소 또는 도메인이 관리되는 경우 검사 합니다.

appPackageFamilyName
String

Platform::String

winrt::hstring

검사 앱의 패키지 패밀리 이름은 보호된 콘텐츠에 액세스할 수 있습니다.

반환

쿼리의 결과인 ProtectionPolicyEvaluationResult 열거형의 값입니다.

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10586.0에서 도입되었습니다.)
Windows Mobile Extension SDK (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v2.0에서 도입되었습니다.)

적용 대상