다음을 통해 공유


ProtectionPolicyManager.CheckAccess(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는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

엔터프라이즈로 보호되는 콘텐츠에 대한 액세스를 ID에 사용할 수 있는지 요청합니다.

public:
 static ProtectionPolicyEvaluationResult CheckAccess(Platform::String ^ sourceIdentity, Platform::String ^ targetIdentity);
 static ProtectionPolicyEvaluationResult CheckAccess(winrt::hstring const& sourceIdentity, winrt::hstring const& targetIdentity);
public static ProtectionPolicyEvaluationResult CheckAccess(string sourceIdentity, string targetIdentity);
function checkAccess(sourceIdentity, targetIdentity)
Public Shared Function CheckAccess (sourceIdentity As String, targetIdentity As String) As ProtectionPolicyEvaluationResult

매개 변수

sourceIdentity
String

Platform::String

winrt::hstring

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

targetIdentity
String

Platform::String

winrt::hstring

검사 엔터프라이즈 ID는 보호된 콘텐츠에 액세스할 수 있습니다.

반환

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

Windows 요구 사항

앱 기능
enterpriseDataPolicy

적용 대상