You are here

retrieveSiteWithShortName:completionBlock

-(AlfrescoRequest *) retrieveSiteWithShortName:(NSString *)siteShortName completionBlock:(AlfrescoSiteCompletionBlock)completionBlock - retrieves a site with the specified short name. If the site does not exist a null is returned.

Parameters

(NSString *) siteShortName
The name of the site.
(AlfrescoSiteCompletionBlock) completionBlock
The block that is called with the site on completion of the operation. The block has the format typedef void (^AlfrescoSiteCompletionBlock)(AlfrescoSite *site, NSError *error).

Returns

(AlfrescoRequest *)

Example