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 bool IsRoamableProtectionEnabled(Platform::String ^ identity);
 static bool IsRoamableProtectionEnabled(winrt::hstring const& identity);
public static bool IsRoamableProtectionEnabled(string identity);
function isRoamableProtectionEnabled(identity)
Public Shared Function IsRoamableProtectionEnabled (identity As String) As Boolean

Parameters

identity
String

The enterprise identity.

Returns

Boolean

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

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
Windows Mobile Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v4.0)

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.

Applies to