On Tue, 2014-07-29 at 14:17 +0200, Patrick Ohly wrote:
Hi,
in Exchange Web Services (EWS) protocol (I know it's not the same as
ActiveSync, but they seem quite close to each other), one has two
options. One is to impersonate the user, which is done with
ExchangeImpersonation element [1] in request SOAP message's header
part, but it's not the same as shared folders, which are handled in a
very different way (the impersonation requires admin settings on the
server, if i recall correctly).
There is no way to get to shared folders, I guess it's for to security
reasons, but users can add shared folders if they know them - those
are share notifications emails for. That is easy for standard folders
(distinguished folder names, like 'calendar' [2]), but it can work for
any folder, supposing the user knows the folder ID. This may need
testing with ActiveSync, and an ability to add "custom" folders with
SyncEvolution, but maybe it'll work in a similar way as in EWS. (I
mean, apart of list of folders reported by the server you might have
an ability to let users add shared folders. These may be from Public
Folders as well.)
Hope it helps,
Milan
[1]
https://git.gnome.org/browse/evolution-ews/tree/src/server/e-ews-message....
[2]
https://git.gnome.org/browse/evolution-ews/tree/src/configuration/e-ews-s...