mirror of
https://github.com/apple/device-management.git
synced 2026-07-11 05:23:42 +02:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
title: Status Passcode Is Present
|
|
description: The status item that reports whether the device has a passcode.
|
|
payload:
|
|
statusitemtype: passcode.is-present
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '16.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- device
|
|
- user
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
sharedipad:
|
|
allowed-scopes:
|
|
- system
|
|
- user
|
|
macOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
visionOS:
|
|
introduced: '1.1'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- device
|
|
- user
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
watchOS:
|
|
introduced: '10.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
payloadkeys:
|
|
- key: passcode.is-present
|
|
title: Status item value.
|
|
type: <boolean>
|
|
presence: required
|
|
content: 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.
|
|
examples:
|
|
- title: Status item example
|
|
files:
|
|
- file: data/docc-examples/remotemanagementmodel/status/passcode.is-present/example1.json
|