Share this page

# lr.getHostName

Returns the name of the host.

Informational 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

Copy code

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

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: