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 | |
| uri |
URI to issue the request for, or |
| 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 |
Returns:
|
Whether succeeded. |