You are here

refreshPerson:completionBlock

- (AlfrescoRequest *)refreshPerson:(AlfrescoPerson *)person completionBlock:(AlfrescoPersonCompletionBlock)completionBlock; - Returns the latest (and complete) metadata for the provided person. Added in SDK version 1.3.

Parameters

(AlfrescoPerson *)person
The person object to refresh.
(AlfrescoPersonCompletionBlock)completionBlock
The block that is called with the updated person object on completion of the operation. The completion block has the format typedef void (^AlfrescoPersonCompletionBlock)(AlfrescoPerson *person, NSError *error);.

Returns

(AlfrescoRequest *)

Example