Screensaver
The payload that configures the screen saver.
Declaration
object ScreensaverProperties
| Name | Type | Description |
|---|---|---|
askForPassword | boolean | If |
askForPasswordDelay | integer | The number of seconds to delay before the password will be required to unlock or stop the screen saver (the grace period). A value of |
idleTime | integer | The number of seconds of inactivity before the screen saver activates (0 = Never activate). |
loginWindowModulePath | string | The full path to the screen-saver module to use. |
moduleName Required | string | The name of the screen saver module. |
Discussion
Specify com.apple.screensaver as the payload type.
Profile availability
Device channel | macOS |
User channel | NA |
Allow manual install | macOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | NA |
Allow multiple payloads | NA |
Profile example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>idleTime</key>
<integer>60</integer>
<key>loginWindowIdleTime</key>
<integer>60</integer>
<key>loginWindowModulePath</key>
<string>/System/Library/Screen Savers/Example-Name.saver</string>
<key>moduleName</key>
<string>Example Name</string>
<key>askForPassword</key>
<true/>
<key>askForPasswordDelay</key>
<integer>5</integer>
<key>PayloadIdentifier</key>
<string>com.example.myscreensaverpayload</string>
<key>PayloadType</key>
<string>com.apple.screensaver</string>
<key>PayloadUUID</key>
<string>ba9abec1-ee44-413d-b75f-63748644ca71</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Screem Saver Device</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>4ffe721a-f2e6-4191-a3fe-1d1a463fbbac</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>