Files
apple_device-management/mdm/commands/user.unlock.yaml
T
2026-06-22 15:55:19 -04:00

42 lines
1.3 KiB
YAML

title: Unlock User Account Command
description: Unlock a user account that the system locked because of too many failed
password attempts.
payload:
requesttype: UnlockUserAccount
supportedOS:
iOS:
introduced: n/a
macOS:
introduced: '10.13'
accessrights: DeviceLockAndRemovePasscode
devicechannel: true
userchannel: false
supervised: false
requiresdep: false
userenrollment:
mode: forbidden
tvOS:
introduced: n/a
visionOS:
introduced: n/a
watchOS:
introduced: n/a
content: This command allows the server to unlock a local user account that has
been locked due to too many failed password attempts. Requires "Device lock and
passcode removal right".
payloadkeys:
- key: UserName
type: <string>
presence: required
content: The user name of the local account, which can be any local account on the
system, not just a managed user account.
notes:
- title: ''
content: Refer to the following sections to determine supported channels and requirements,
and to see an example request and response.
examples:
- title: Example request and response
files:
- request-file: examples/mdm/commands/classroom.user.unlock/example1.plist
response-file: examples/mdm/commands/classroom.user.unlock/example2.plist