---
title: ScreenSharingConnection
framework: Device Management
role: symbol
role_heading: Object
platforms: [macOS 14.0+]
path: devicemanagement/screensharingconnection
---

# ScreenSharingConnection

The declaration to configure a connection to a screen-sharing host.

## Declaration

```data
object ScreenSharingConnection
```

## Properties

AuthenticationCredentialsAssetReference: The identifier of an asset declaration that contains the required credentials for this connection to authenticate with the screen-sharing server. Set the corresponding asset type to com.apple.asset.credential.userpassword. ConnectionUUID: A unique identifier for this connection when it’s in a connection group. DisplayConfiguration: The display configuration for this connection. DisplayName: The name of the connection. HostName: The host name or IP address of the Mac that hosts the screen-sharing connection. Port: The TCP port number on the host to initiate the connection.

## Discussion

Discussion Specify com.apple.configuration.screensharing.connection as the declaration type. Configuration availability  |   |   |   |   |   |   |   |  Configuration example This configuration sets up a screen-sharing connection to a remote Mac. {     "Type": "com.apple.configuration.screensharing.connection",     "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",     "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",     "Payload": {         "ConnectionUUID": "FA80E209-B31B-4862-B880-399F79E8FC35",         "HostName": "example.com",         "DisplayName": "Host1",         "DisplayConfiguration": {             "DisplayType": "Virtual1"         }     } }

## Topics

### Objects

- [ScreenSharingConnectionDisplayConfigurationObject](devicemanagement/screensharingconnectiondisplayconfigurationobject.md)

## See Also

### Configurations

- [AccessibilitySettings](devicemanagement/accessibilitysettings.md)
- [AccountCalDAV](devicemanagement/accountcaldav.md)
- [AccountCardDAV](devicemanagement/accountcarddav.md)
- [AccountExchange](devicemanagement/accountexchange.md)
- [AccountGoogle](devicemanagement/accountgoogle.md)
- [AccountLDAP](devicemanagement/accountldap.md)
- [AccountMail](devicemanagement/accountmail.md)
- [AccountSettings](devicemanagement/accountsettings.md)
- [AccountSubscribedCalendar](devicemanagement/accountsubscribedcalendar.md)
- [AppManaged](devicemanagement/appmanaged.md)
- [AppSettings](devicemanagement/appsettings.md)
- [AudioAccessorySettings](devicemanagement/audioaccessorysettings.md)
- [ContentCaching](devicemanagement/contentcaching.md)
- [DiskManagementSettings](devicemanagement/diskmanagementsettings.md)
- [ExtensibleSSO](devicemanagement/extensiblesso.md)
