Logout User
Script Type: Python
When the Logout User task is executed, the script quits all applications and logs the logged-in user out of the Mac computer. When logout is initiated, the user receives a logout message with the option: Reopen windows when logging back in.
If Device Management for Apple is not enabled on the device, the user receives a request to allow the rmmagentd to control "System Events".
Parameter | Description |
---|---|
Force Logout | Kills the user session instead of requesting logout. |
Hide macOS notification when script is run | Run the task without notifying the user. |