GETREMOTEUSER()

From Lianjapedia
Revision as of 12:19, 9 February 2012 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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()