ProtectionPolicyManager.IsProtectionUnderLockRequired(String) ProtectionPolicyManager.IsProtectionUnderLockRequired(String) ProtectionPolicyManager.IsProtectionUnderLockRequired(String) ProtectionPolicyManager.IsProtectionUnderLockRequired(String) ProtectionPolicyManager.IsProtectionUnderLockRequired(String) Method

Definition

Note

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

Use this property to determine the value of the ProtectionUnderLockConfigRequired enterprise data protection (WIP) policy.

public : static Platform::Boolean IsProtectionUnderLockRequired(Platform::String identity)
static bool IsProtectionUnderLockRequired(winrt::hstring identity) const;
public static bool IsProtectionUnderLockRequired(String identity)
Public Shared Function IsProtectionUnderLockRequired(identity As String) As bool
var bool = Windows.Security.EnterpriseData.ProtectionPolicyManager.isProtectionUnderLockRequired(identity);

Parameters

identity
String String String

The enterprise identity you want to check has ProtectionUnderLockConfigRequired policy set.

Returns

bool bool bool

true if ProtectionUnderLockConfigRequired policy is set for the identity, otherwise false.

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)