ProtectionPolicyManager.LogAuditEvent(String, String, ProtectionPolicyAuditInfo) ProtectionPolicyManager.LogAuditEvent(String, String, ProtectionPolicyAuditInfo) ProtectionPolicyManager.LogAuditEvent(String, String, ProtectionPolicyAuditInfo) ProtectionPolicyManager.LogAuditEvent(String, String, ProtectionPolicyAuditInfo) ProtectionPolicyManager.LogAuditEvent(String, String, ProtectionPolicyAuditInfo) Method

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Causes an audit event to be logged.

public : static void LogAuditEvent(Platform::String sourceIdentity, Platform::String targetIdentity, ProtectionPolicyAuditInfo auditInfo)
static void LogAuditEvent(winrt::hstring sourceIdentity, winrt::hstring targetIdentity, ProtectionPolicyAuditInfo auditInfo) const;
public static void LogAuditEvent(String sourceIdentity, String targetIdentity, ProtectionPolicyAuditInfo auditInfo)
Public Shared Sub LogAuditEvent(sourceIdentity As String, targetIdentity As String, auditInfo As ProtectionPolicyAuditInfo)
Windows.Security.EnterpriseData.ProtectionPolicyManager.logAuditEvent(sourceIdentity, targetIdentity, auditInfo);

Parameters

sourceIdentity
String String String

The enterprise identity to which the content is protected. This is an email address or domain that is managed. Your app should use IsIdentityManaged to confirm that an email address or domain is managed.

targetIdentity
String String String

The enterprise identity to which the content is being disclosed. This is an email address or domain.

Additional features and requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.14393.0) Windows Mobile Extension SDK (introduced v10.0.14393.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v3)