ProtectionPolicyManager.IsRoamableProtectionEnabled(String) ProtectionPolicyManager.IsRoamableProtectionEnabled(String) ProtectionPolicyManager.IsRoamableProtectionEnabled(String) ProtectionPolicyManager.IsRoamableProtectionEnabled(String) ProtectionPolicyManager.IsRoamableProtectionEnabled(String) Method

Definition

Determines whether the policy is configured to protect files that are copied to removable drives by using Azure Information Protection.

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

Parameters

identity
String String String

The enterprise identity.

Returns

bool bool bool

true if files will be protected by using RMS keys, otherwise false.

Additional features and requirements

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

Remarks

If this method returns false, files that users copy to removable drives will be protected by using local keys and those files won't be accessible on those drives to other users on the current device or, if the drive is connected to another device, to anyone on that newly connected device. If this method returns false, you could (optionally) let users know about this limitation by presenting this information in a dialog box.