This function lists the users that are available for use with CalDAV and CardDAV
uapi --output=jsonpretty \ --user=username \ CPDAVD \ list_users
{- "apiversion": 3,
- "func": "list_users",
- "module": "CPDAVD",
- "result": {
- "data": [
- {
- "someone@example.com": {
- "addressbook": {
- "description": "Default Address Book automatically created for your account.",
- "displayname": "cPanel CardDAV Address Book",
- "protected": 1,
- "type": "VADDRESSBOOK"
}, - "calendar": {
- "calendar-color": "#ff6c2c",
- "description": "Default Calendar automatically created for your account.",
- "displayname": "cPanel CalDAV Calendar",
- "protected": 1,
- "type": "VCALENDAR"
}
}
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}