Contents

AccountCalDAV

The declaration to configure a Calendar account.

Declaration

object AccountCalDAV

Properties

NameTypeDescription
AuthenticationCredentialsAssetReferencestring

The identifier of an asset declaration that contains the credentials for this account. Set the corresponding asset type to CredentialUserNameAndPassword.

HostName Requiredstring

The hostname or IP address of the CalDAV server.

Pathstring

The path for the CalDAV server.

Portinteger

The port number for the CalDAV server.

VisibleNamestring

The name that apps show to the user for this calendar account. If not present, the system generates a suitable default.

Discussion

Specify com.apple.configuration.account.caldav as the declaration type.

Configuration availability

Allowed in supervised enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in device enrollment

iOS, Shared iPad, visionOS

Allowed in user enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in local enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in system scope

iOS, visionOS

Allowed in user scope

macOS, Shared iPad

Configuration example

{
    "Type": "com.apple.configuration.account.caldav",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "VisibleName": "Work Calendar",
        "HostName": "calendar.example.com",
        "Port": 8443,
        "Path": "/principals",
        "AuthenticationCredentialsAssetReference": "64BF8F5C-8CFD-40AA-9082-A0B594D4E100"
    }
}

See Also

Configurations