You are here

retrieveAllSitesWithListingContext:completionBlock

-(AlfrescoRequest *) retrieveAllSitesWithListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a paged list of all sites in the repository that the current user has visibility of.

Parameters

(AlfrescoListingContext *) listingContext
The listing context with a paging definition that is used to retrieve the sites.
(AlfrescoPagingResultCompletionBlock) completionBlock
The block that is called with the sites on completion of the operation. The completion block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error).

Returns

(AlfrescoRequest *)

Example