mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #12162 from nextcloud/feat/occ-list-addressbook-command
feat(carddav): add command to list address books
This commit is contained in:
@@ -514,6 +514,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:create-subscription Create a dav calendar subscription
|
||||
dav:delete-calendar Delete a dav calendar
|
||||
@@ -564,11 +565,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
|
||||
|
||||
Reference in New Issue
Block a user