ProtectionPolicyManager.IsUserDecryptionAllowed(String) ProtectionPolicyManager.IsUserDecryptionAllowed(String) ProtectionPolicyManager.IsUserDecryptionAllowed(String) ProtectionPolicyManager.IsUserDecryptionAllowed(String) ProtectionPolicyManager.IsUserDecryptionAllowed(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 whether decryption of files protected by Windows Information Protection (WIP) is allowed.

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

Parameters

identity
String String String

The enterprise identity you want to check has access to the protected content.

Returns

bool bool bool

true if decryption of files protected by WIP is allowed, 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)