---
title: isUserAuthenticationEnabled
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/isuserauthenticationenabled
---

# isUserAuthenticationEnabled

The current system user authentication enablement status.

## Declaration

```swift
var isUserAuthenticationEnabled: Bool { get }
```

## Discussion

Discussion Use this value to determine whether the system will issue additional device-owner authentication challenges before revealing this piece of user interface from under a system-installed shield. Your app can respond to changes in this value to take appropriate action, like installing or uninstalling a bespoke UI shield for sensitive content.
