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

Add a Preference

For example, the following URL adds a new preference, ceBgcolor, to the calendar and sets it to black:


Delete a Preference

This URL deletes the calendar preference ceBgcolor from the user’s preferences.


Note –

If the attribute to be deleted is multi-valued and there are other instances of the preference, only the first instance encountered is deleted. To remove all of the instances of this preference, multiple set_userprefs commands must be issued, one for each instance.

For example: After running get_userprefs, you see there are two values listed for icsSubscribed. To clear both of them, two commands must be issued:

Modify a Preference

This URL would modify the calendar preference ceBgcolor to have the value white:


This URL would allow the logged-in administrator to modify the calendar preference ceBgcolor to have the value black for user jdoe: