GETREMOTEUSER()

From Recital Documentation Wiki
Revision as of 13:47, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Data Connectivity


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