KnownFoldersAccessStatus Enum


Describes a known folder's access to a single capability.

public enum class KnownFoldersAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
enum KnownFoldersAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
public enum KnownFoldersAccessStatus
var value = Windows.Storage.KnownFoldersAccessStatus.deniedBySystem
Public Enum KnownFoldersAccessStatus

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)


Allowed 4

Access is allowed.

AllowedPerAppFolder 5

Access is allowed but limited to a Per App Subfolder.

DeniedBySystem 0

System admin disabled access for all users.

DeniedByUser 2

User has denied access and there is no fallback for this location.

NotDeclaredByApp 1

App doesn't have the capability declared in the manifest.

UserPromptRequired 3

User consent is required, but not yet completed.

Applies to

See also