get_current_user_privilege_set_sync


Description:

public bool get_current_user_privilege_set_sync (string? uri, out SList<WebDAVPrivilege> out_privileges, 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.

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

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.