Via soap, you could call <GetContactsRequest> to get the contact ids, then feed them to <ContactActionRequest> to delete (or move to trash).
If the addressbook is a user-created one rather than the built-in "Contacts" or "Emailed Contacts" then you could:
- find the folder: <SearchRequest>
- delete the folder: <FolderActionRequest>
- create the folder: <CreateFolderRequest>
see soap.txt for a description of the soap methods.
__________________ Zindus - contact sync for Thunderbird and Zimbra
|