ScreenSharingHostSettings
The declaration to configure screen-sharing host settings and restrictions.
Declaration
object ScreenSharingHostSettingsProperties
| Name | Type | Description |
|---|---|---|
MaximumVirtualDisplays | integer | The maximum number of virtual displays to make available to clients. |
PortBase | integer | The initial UDP port number to connect to the host. Screen sharing requires multiple connections, so the system increments this value by 1 for each additional connection. This doesn’t change the port number that the system uses to initially establish a connection with a host, which is always TCP port 5900. |
PreventCopyFilesFromHost | boolean | If |
PreventCopyFilesToHost | boolean | If |
PreventHighPerformanceConnections | boolean | If |
Discussion
Specify com.apple.configuration.screensharing.host.settings as the declaration type.
Configuration availability
Allowed in supervised enrollment | macOS |
Allowed in device enrollment | NA |
Allowed in user enrollment | NA |
Allowed in local enrollment | macOS |
Allowed in system scope | macOS |
Allowed in user scope | NA |
Configuration example
{
"Type": "com.apple.configuration.screensharing.host.settings",
"Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
"ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
"Payload": {
"MaximumVirtualDisplays": 1,
"PortBase": 1100,
"PreventCopyFilesFromHost": true,
"PreventCopyFilesToHost": true,
"PreventHighPerformanceConnections": true
}
}