You are here

isPerson:MemberOfSite

- (AlfrescoRequest *)isPerson:(AlfrescoPerson *)person memberOfSite:(AlfrescoSite *)site completionBlock:(AlfrescoMemberCompletionBlock)completionBlock - determines if a person is a member of the specified site.

Parameters

(AlfrescoPerson *) person
The person to check if a member of the specified site or not.
(AlfrescoSite *) site
The site to check membership for the specified person.
(AlfrescoMemberCompletionBlock)completionBlock
The block that is called with the results on completion of the operation. The completion block has the format typedef void (^AlfrescoMemberCompletionBlock)(BOOL succeeded, BOOL isMember, NSError *error);.

Returns

(AlfrescoRequest *)

Example