private Task<XmlDocumentWithNamespaceManager> GetCurrentUserPrivileges (Uri url, int depth)
{
return _webDavClient.ExecuteWebDavRequestAndReadResponse (
url,
"PROPFIND",
depth,
null,
null,
"application/xml",
@"<?xml version='1.0'?>
<D:propfind xmlns:D=""DAV:"">
<D:prop>
<D:current-user-privilege-set/>
</D:prop>
</D:propfind>
"
);
}