ProtectionPolicyManager.GetEnforcementLevel(String) ProtectionPolicyManager.GetEnforcementLevel(String) ProtectionPolicyManager.GetEnforcementLevel(String) ProtectionPolicyManager.GetEnforcementLevel(String) ProtectionPolicyManager.GetEnforcementLevel(String) Method

Definition

Note

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

You can use this method to determine the current Windows Information Protection (WIP) enforcement level. WIP enforcement level is one aspect of mobile device management (MDM) policy configuration.

public : static EnforcementLevel GetEnforcementLevel(Platform::String identity)
static EnforcementLevel GetEnforcementLevel(winrt::hstring identity) const;
public static EnforcementLevel GetEnforcementLevel(String identity)
Public Shared Function GetEnforcementLevel(identity As String) As EnforcementLevel
var enforcementLevel = Windows.Security.EnterpriseData.ProtectionPolicyManager.getEnforcementLevel(identity);

Parameters

identity
String String String

The enterprise identity. 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.

Returns

Additional features and requirements

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