Difference between revisions of "GETREMOTEHOST()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
==Class==
 
==Class==
Data Connectivity
+
Environment
  
  
Line 31: Line 31:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Environment]]
 +
[[Category:Environment Functions]]

Revision as of 11:29, 3 June 2009

Class

Environment


Purpose

Function to return the hostname of the client that is connected to the Recital Database/Mirage Server


Syntax

GETREMOTEHOST()


See Also

GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEUSER(), ISMIRAGE(), ISSERVER()


Description

The GETREMOTEHOST() function returns the hostname of the client that is connected to the Recital Database Server or Recital Mirage Server. The address is returned as a character string.

An empty string will be returned if the function is not being run via the Recital Database Server or Recital Mirage Server or if the client does not have a hostname defined.


Example

mCurrentHostName = getremotehost()


Products

Recital Database Server, Recital Mirage Server