get_current_user_privilege_set_full_sync


Description:

public bool get_current_user_privilege_set_full_sync (string? uri, out SList<WebDAVPrivilege> out_privileges, out HashTable<void*,void*> out_capabilities, out HashTable<void*,void*> out_allows, Cancellable? cancellable = null) throws Error

Gets current user privileges for the uri, or, in case it's null, for the URI defined in associated Source, with optional read of the capabilities and what the user is allowed.

See options_sync for more information about the out_capabilities and out_allows values.

Free the returned out_privileges with g_slist_free_full (privileges, e_webdav_privilege_free); when no longer needed.

Parameters:

this

an WebDAVSession

uri

URI to issue the request for, or null to read from Source

out_privileges

return location for a SList of WebDAVPrivilege

out_capabilities

return location for DAV capabilities, or null

out_allows

return location for allowed operations, or null

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.