lr.getHostName

Returns the name of the host.

ExampleInformational Functions

Syntax

lr.getHostName( ); 

The lr.getHostName function returns the name of the machine executing the script.

Return Values

On success, returns the name of the host. On failure, returns NULL.

Parameterization

You cannot use standard parameterization for any arguments in this function.

Example

function Action(){
   var myHost = lr.getHostName();
   lr.outputMessage(myHost);
return 0;
}