FileRevocationManager.Revoke(String) FileRevocationManager.Revoke(String) FileRevocationManager.Revoke(String) FileRevocationManager.Revoke(String) FileRevocationManager.Revoke(String) Method

Definition

Note

FileRevocationManager may be unavailable for releases after Windows 10. Instead, use FileProtectionManager.

Note

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

Revokes all files and folders protected for selective wipe for a specified enterprise id.

public : static void Revoke(Platform::String enterpriseIdentity)
static void Revoke(winrt::hstring enterpriseIdentity) const;
public static void Revoke(String enterpriseIdentity)
Public Shared Sub Revoke(enterpriseIdentity As String)
Windows.Security.EnterpriseData.FileRevocationManager.revoke(enterpriseIdentity);

Parameters

enterpriseIdentity
String String String

Revoke all files and folders protected by selective wipe for this enterprise id. The enterpriseIdentity value must be formatted as an Internationalized Domain Name (IDN) and cannot contain spaces. For example, contoso.com.

Remarks

When your app determines that a user is no longer valid, you can quickly revoke access to all of the files and folders protected for an enterprise identity using the Revoke method, as shown in the following example. The file is not deleted by the Revoke method. The Revoke method puts the file into state where it cannot be accessed. You can add code to your app to delete a file that is inaccessible and has been revoked.

See also