---
title: kSecUseAuthenticationUIFail
framework: security
role: symbol
role_heading: Global Variable
path: security/ksecuseauthenticationuifail
---

# kSecUseAuthenticationUIFail

A value that indicates user authentication is disallowed.

## Declaration

```swift
let kSecUseAuthenticationUIFail: CFString
```

## Discussion

Discussion When you specify this value, if user authentication is needed, the function returns the errSecInteractionNotAllowed error.
