Contents

AccountCardDAV

The declaration to configure a Contacts account.

Declaration

object AccountCardDAV

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 CardDAV server.

Pathstring

The path for the CardDAV server.

Portinteger

The port number for the CardDAV server.

VisibleNamestring

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

Discussion

Specify com.apple.configuration.account.carddav 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.carddav",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "VisibleName": "Work Contacts",
        "HostName": "contacts.example.com",
        "Port": 8443,
        "Path": "/principals",
        "AuthenticationCredentialsAssetReference": "64BF8F5C-8CFD-40AA-9082-A0B594D4E100"
    }
}

See Also

Configurations