You are here

retrievePendingSitesWithCompletionBlock

-(AlfrescoRequest *) retrievePendingSitesWithCompletionBlock:(AlfrescoSite *)site completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - Retrieves a list of sites the current user has requested to join. An empty array is returned if there are no outstanding requests.

Parameters

(AlfrescoSite *) site
The site to be joined.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the array of pending sites. The block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example