mirror of
https://github.com/apple/device-management.git
synced 2026-07-10 21:13:42 +02:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
title: Log Out User Command
|
|
description: Force the current user to log out of a device.
|
|
payload:
|
|
requesttype: LogOutUser
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '9.3'
|
|
accessrights: None
|
|
supervised: false
|
|
requiresdep: false
|
|
sharedipad:
|
|
mode: required
|
|
devicechannel: true
|
|
userchannel: false
|
|
userenrollment:
|
|
mode: forbidden
|
|
macOS:
|
|
introduced: n/a
|
|
tvOS:
|
|
introduced: n/a
|
|
visionOS:
|
|
introduced: n/a
|
|
watchOS:
|
|
introduced: n/a
|
|
content: This command allows the server to force the current user to logout.
|
|
notes:
|
|
- title: ''
|
|
content: |-
|
|
After logging out the user, MDM commands aren't available on the device for up to 2 minutes.
|
|
|
|
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.logout/example1.plist
|
|
response-file: examples/mdm/commands/classroom.user.logout/example2.plist
|