Click or drag to resize

IAppleCalendarAsyncUpdateSharingAsync 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: 11.3.10719
Task UpdateSharingAsync(
	IList<AppleShare> sharesToAddAndRemove

Task UpdateSharingAsync(
	IList<AppleShare> sharesToAddAndRemove


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

Return Value

Type: Task
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.
See Also