Difference between revisions of "GETREMOTEUSER()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the user name of the client that is connected to the Recital Server
+
Function to return the user name of the client that is connected to the Lianja Server
  
 
==Syntax==
 
==Syntax==
Line 9: Line 9:
  
 
==Description==
 
==Description==
The GETREMOTEUSER() function returns the user name used by the current client to connect to the Recital Server.  The user name is returned as a character string.
+
The GETREMOTEUSER() function returns the user name used by the current client to connect to the Lianja Server.  The user name is returned as a character string.
  
An empty string will be returned if the function is not being run via the Recital Server.
+
An empty string will be returned if the function is not being run via the Lianja Server.
  
 
==Example==
 
==Example==

Revision as of 13:05, 7 December 2012

Purpose

Function to return the user name of the client that is connected to the Lianja Server

Syntax

GETREMOTEUSER()

See Also

GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEHOST(), ISSERVER()

Description

The GETREMOTEUSER() function returns the user name used by the current client to connect to the Lianja Server. The user name is returned as a character string.

An empty string will be returned if the function is not being run via the Lianja Server.

Example

mCurrentUser = getremoteuser()