Retrieves the farm ID to which the SUP server belongs.
Syntax
public static virtual NSString *
getFarmIdWithError:
(NSError ** error)
Parameters
-
error –
Double pointer to the error object if the method results in an error.
Returns
Farm ID as a string object. Usage NSError* error = nil; NSString* farmId = [ODPAppSettings getFarmIdWithError:&error]; if (!error) { // Further processing }