get_principal_collection_set_sync


Description:

public bool get_principal_collection_set_sync (string? uri, out SList<string> out_principal_hrefs, Cancellable? cancellable = null) throws Error

Gets list of principal collection href for the uri, or, in case it's null, for the URI defined in associated Source.

The out_principal_hrefs are root collections that contain the principals that are available on the server that implements this resource.

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_principal_hrefs

return location for a SList of principal href-s

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.