FileProtectionStatus FileProtectionStatus FileProtectionStatus FileProtectionStatus Enum

Definition

Note

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

Describes the enterprise protection state of a file or folder.

public : enum class FileProtectionStatuspublic enum FileProtectionStatusPublic Enum FileProtectionStatus// You can use this enum in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0) Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced v1)

Fields

AccessSuspended AccessSuspended AccessSuspended AccessSuspended

The keys to access the protected item have been dropped while the device is locked.

FileInUse FileInUse FileInUse FileInUse

The item is being used by another process. You can apply enterprise protection to it only after it becomes exclusively available.

LicenseExpired LicenseExpired LicenseExpired LicenseExpired

The item's RMS license has expired.

NotProtectable NotProtectable NotProtectable NotProtectable

The item is encrypted or is a system file and cannot be protected using enterprise protection.

Protected Protected Protected Protected

The item is protected using enterprise protection and you're app can open this file because it is on the allowed list of the policy.

ProtectedByOtherUser ProtectedByOtherUser ProtectedByOtherUser ProtectedByOtherUser
Note

ProtectedByOtherUser may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.

Another user has protected the item using enterprise protection.

ProtectedToOtherEnterprise ProtectedToOtherEnterprise ProtectedToOtherEnterprise ProtectedToOtherEnterprise
Note

ProtectedToOtherEnterprise may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.

The item is protected for another enterprise id using enterprise protection.

ProtectedToOtherIdentity ProtectedToOtherIdentity ProtectedToOtherIdentity ProtectedToOtherIdentity

The item is protected for another enterprise identity using enterprise protection.

Revoked Revoked Revoked Revoked

The item has been revoked using enterprise protection.

Undetermined Undetermined Undetermined Undetermined
Note

Undetermined may be unavailable for releases after Windows 10. Instead, use Unknown.

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Unknown Unknown Unknown Unknown

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Unprotected Unprotected Unprotected Unprotected

The item is not protected using enterprise protection.