Fetches the server host name against which the user is registered.
Syntax
public static virtual NSString *
getServerNameWithError:
(NSError ** error)
Parameters
-
error –
A double pointer to the error object in case the operation results in an error
Returns
Returns the server host name as a string object Usage NSError* error = nil; NSString* hostName = [ODPAppSettings getServerNameWithError:&error]; if (!error) { // Further processing }