Difference between revisions of "GETREMOTEUSER()"

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 user name of the client that is connected to the Recital Database/Mirage Server


Syntax

GETREMOTEUSER()


See Also

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


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.

An empty string will be returned if the function is not being run via the Recital Database Server or Recital Mirage Server.


Example

mCurrentUser = getremoteuser()


Products

Recital Database Server, Recital Mirage Server