Difference between revisions of "GETREMOTEUSER()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the user name of the client that is connected to the Recital Database/Mirage Server
+
Function to return the user name of the client that is connected to the Recital Server
 
+
  
 
==Syntax==
 
==Syntax==
 
GETREMOTEUSER()
 
GETREMOTEUSER()
 
  
 
==See Also==
 
==See Also==
[[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[ISMIRAGE()]], [[ISSERVER()]]
+
[[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[ISSERVER()]]
 
+
  
 
==Description==
 
==Description==
The GETREMOTEUSER() function returns the user name used by the current client to connect to the Recital Database Server or Recital Mirage 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 Recital 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 Database Server or Recital Mirage Server.
+
  
 +
An empty string will be returned if the function is not being run via the Recital Server.
  
 
==Example==
 
==Example==
Line 22: Line 18:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Environment]]
 
[[Category:Environment]]
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]

Revision as of 12:19, 9 February 2012

Purpose

Function to return the user name of the client that is connected to the Recital 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 Recital 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.

Example

mCurrentUser = getremoteuser()