On Tuesday, November 18, 2014 7:40:52 AM UTC-5, Laoneo wrote:
>
> Looks like the way to go. How can I obtain the logged in user in SabreDAV?
>

In your server.php you have an authentication plugin. (often $authPlugin).
This plugin has a getCurrentUser() method.

What I usually recommend to people that need to have access to the user in 
their virtual filesystem, is to inject the $authPlugin in your collections' 
constructor.

Evert

-- 
You received this message because you are subscribed to the Google Groups 
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sabredav-discuss/db39e39a-3829-43fb-bb8c-184158525c7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to