You are here

searchWithKeywords:listingContext:completionBlock

-(AlfrescoRequest *) searchWithKeywords:(NSString *)keywords listingContext:(AlfrescoListingContext *)listingContext completionBlock:(AlfrescoPagingResultCompletionBlock)completionBlock - Returns a paged list of people from the repository that matches the provided keywords. The search will match username, first name and last name.

Parameters

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

Returns

(AlfrescoRequest *)

Example