diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index ba69f2847f4..32131a9ac62 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -513,6 +513,7 @@ A set of commands to create and manage addressbooks and calendars:: dav dav:create-addressbook Create a dav addressbook + dav:list-addressbooks List all addressbooks of a user dav:create-calendar Create a dav calendar dav:delete-calendar Delete a dav calendar dav:fix-missing-caldav-changes Insert missing calendarchanges rows for existing events @@ -548,11 +549,17 @@ This example will delete the birthday calendar of user molly:: sudo -u www-data php occ dav:delete-calendar --birthday molly -``dav:lists-calendars [user]`` will display a table listing the calendars for a given user. +``dav:list-calendars [user]`` and ``dav:list-addressbooks [user]`` will display a +table listing the calendars or addressbooks for a given user. + This example will list all calendars for user annie:: sudo -u www-data php occ dav:list-calendars annie +This example will list all addressbooks for user annie:: + + sudo -u www-data php occ dav:list-addressbooks annie + ``dav:dav:fix-missing-caldav-changes [user]`` tries to restore calendar sync changes when data in the calendarchanges table has been lost. If the user ID is omitted, the command runs for all users. This can take a while. ``dav::move-calendar [name] [sourceuid] [destinationuid]`` allows the admin