get_acl_restrictions_sync


Description:

public bool get_acl_restrictions_sync (string? uri, out uint32 out_restrictions, out WebDAVACEPrincipalKind out_principal_kind, out SList<string> out_principal_hrefs, Cancellable? cancellable = null) throws Error

Gets Access Control List (ACL) restrictions for the uri, or, in case it's null, for the URI defined in associated Source.

The out_principal_kind is valid only if the out_restrictions contains REQUIRED_PRINCIPAL. The out_principal_hrefs is valid only if the out_principal_kind is valid and when it is HREF.

Free the returned out_principal_hrefs with g_slist_free_full (entries, g_free); when no longer needed.

Parameters:

this

an WebDAVSession

uri

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

out_restrictions

return location for bit-or of WebDAVACLRestrictions

out_principal_kind

return location for principal kind

out_principal_hrefs

return location for a SList of principal href-s

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.