---
title: StatusPasscodeIsPresent
framework: devicemanagement
role: symbol
role_heading: Object
path: devicemanagement/statuspasscodeispresent
---

# StatusPasscodeIsPresent

The status item that reports whether the device has a passcode.

## Declaration

```data
object StatusPasscodeIsPresent
```

## Properties

passcode.is-present: If true, a passcode is present on the device. If false, a passcode isn’t present on the device. When a passcode is present, the specific attributes of the passcode, such as length or number of complex characters, aren’t reported. Instead, use the passcode.is-compliant status item to verify that the passcode complies with all passcode policies set on the device.

## Discussion

Discussion Status item availability  |   |   |   |   |   |   |  Status item example {     "passcode": {         "is-present": true     } }

## See Also

### Passcode and security items

- [StatusPasscodeCompliance](devicemanagement/statuspasscodecompliance.md)
- [StatusDiskManagementFileVaultEnabled](devicemanagement/statusdiskmanagementfilevaultenabled.md)
- [StatusSecurityCertificateList](devicemanagement/statussecuritycertificatelist.md)
- [StatusSecurityLockdownMode](devicemanagement/statussecuritylockdownmode.md)
