Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Command: list_subscribed

Purpose

List all calendars subscribed to by current user.

Parameters

Table 7–25 list_subscribed Parameters

Parameter  

Type  

Purpose  

Required  

Default  

id

unique identifier string 

The session identifier. Required unless the calendar is public. 

N/A 

userid

string 

Specifies which user’s calendars to display. 

Can only be used by an administrator, and only if the option is configured on the server. 

N/A 

Description

Returns calendars the user is subscribed to, including the ones for which the user is the primary owner.

Example

BEGIN:VCALENDAR
PRODID:-//SunJavaSystem/Calendar Hosting Server//EN
METHOD:PUBLISH
VERSION:2.0
X-S1CS-CALPROPS-SUBSCRIBED-CALENDAR:jdoe@example.com
X-S1CS-CALPROPS-SUBSCRIBED-CALENDAR:jdoe@example.com:MySecondCalendar
X-S1CS-CALPROPS-SUBSCRIBED-CALENDAR:jdoe@example.com:Vacation
X-S1CS-CALPROPS-SUBSCRIBED-CALENDAR:jdoe@example.com:ProjectX
END:VCALENDAR