You are here

retrieveSitesWithListingContext:completionBlock

-(AlfrescoRequest *) retrieveSitesWithListingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - retrieves a paged list of all sites in the repository that the current user has explicit membership 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 block has the format typedef void (^AlfrescoPagingResultCompletionBlock)(AlfrescoPagingResult *pagingResult, NSError *error);.

Returns

(AlfrescoRequest *)

Example