Click or drag to resize

IAppleCalendarUpdateSharingAsync Method

IT Hit WebDAV Classes Reference
This metod is called when user is granting or withdrowing acces to the calendar.

Namespace:  ITHit.WebDAV.Server.CalDav
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
Task UpdateSharingAsync(
	IList<AppleShare> sharesToAddAndRemove
)

Parameters

sharesToAddAndRemove
Type: System.Collections.GenericIListAppleShare
Each item in this list describes the share to add or delete.

Return Value

Type: Task
.
Remarks
In this metod implementation you will grant or withdraw acces to the calendar as well as you will send sharing invitation. When user is updating acces rights, for example changing acces rights from read-write to read-only the Apple iCal client application submits 'delete share' and 'add share' with new access rights in a single request. Your implementation must first delete all shares and than add new shares regardless of the order they are sent and listed in sharesToAddAndRemove parameter. http://svn.calendarserver.org/repository/calendarserver/CalendarServer/trunk/doc/Extensions/caldav-sharing.txt
See Also