Sun Java System Calendar Server 6 2005Q4 Developer's Guide
只搜寻这本书
以 PDF 格式下载本书 (1232 KB)

Chapter 7 WCAP Command Reference

This chapter contains the WCAP command reference. Each command accepts various parameters, which are defined for each command in this chapter.

Unless otherwise noted, the maximum length value for any parameter accepted by WCAP commands is 1024 characters. While no input length checking is performed by WCAP, any parameter value longer than 1024 can produce unpredictable results.

For all commands that allow the id parameter (session ID), it is a required parameter. Two exceptions to this rule are as follows:

  • You do not need it to grant anonymous access to a calendar.

  • Nor is it required in order to grant read access to a public calendar.

In all other situations, you must provide the session ID in the id parameter.


Note –

The server supports “anonymous” as a special principal name. The anonymous user can log in with any password. It is not associated with any particular domain.


The following is a list of the available WCAP commands:

目录
Command: check_id
Command: createcalendar
Command: deletecalendar
Command: deletecomponents_by_range
Command: deleteevents_by_id
Command: deleteevents_by_range
Command: deletetodos_by_id
Command: deletetodos_by_range
Command: export
Command: fetchcomponents_by_alarmrange
Command: fetchcomponents_by_attendee_error
Command: fetchcomponents_by_lastmod
Command: fetchcomponents_by_range
Command: fetch_deletedcomponents
Command: fetchevents_by_id
Command: fetchtodos_by_id
Command: get_all_timezones
Command: get_calprops
Command: get_freebusy
Command: get_guids
Command: gettime
Command: get_userprefs
Command: import
Command: list
Command: list_subscribed
Command: login
Command: logout
Command: ping
Command: search_calprops
Command: set_calprops
Command: set_userprefs
Command: storeevents
Command: storetodos
Command: subscribe_calendars
Command: unsubscribe_calendars
Command: verifyevents_by_ids
Command: verifytodos_by_ids
Command: version