Contents

StatusPasscodeIsPresent

A status report of the passcode on the device.

Declaration

object StatusPasscodeIsPresent

Properties

NameTypeDescription
passcode.is-present Requiredboolean

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

Status item availability

Allowed in supervised enrollment

iOS, Shared iPad, visionOS, watchOS

Allowed in device enrollment

iOS, Shared iPad, visionOS

Allowed in user enrollment

iOS, Shared iPad, visionOS

Allowed in local enrollment

iOS, Shared iPad, visionOS, watchOS

Allowed in system scope

iOS, Shared iPad, visionOS, watchOS

Allowed in user scope

Shared iPad

See Also

Status Reports and Elements