You are here

retrieveActivityStreamForPerson:listingContext:completionBlock

-(AlfrescoRequest *) retrieveActivityStreamForPerson:(NSString *)username withListingContext:(AlfrescoListingContext *) listingContext completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - retrieves all activities for the specified user with a listing context.

Parameters

(NSString *) personIdentifier
The identifier for the user whose activity stream is to be retrieved.
(AlfrescoListingContext *)listingContext
The listing context with a paging definition that is used to retrieve the activity stream.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called with the activity stream on completion of the operation. The completion block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example