Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr_get_master_host_name

lr_get_master_host_name

Returns the name of the Controller host.

C Language

char *lr_get_master_host_name( );
Example: lr_get_master_host_name Informational Functions

Java Language

String lr.get_master_host_name( ); 
Example: lr.get_master_host_name Informational Functions Java Syntax

The lr_get_master_host_name function returns the name of the machine running the Controller .

Not applicable for products that do not run Vusers.

Return Values

This function returns the name of the Controller machine if the operation is successful and NULL if the operation fails. The return value is a pointer to static data and should only be read, not altered.

Parameterization

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