Difference between revisions of "GETREMOTEUSER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return the user name of the client that is connected to the | + | Function to return the user name of the client that is connected to the Lianja Server |
− | + | ||
==Syntax== | ==Syntax== | ||
GETREMOTEUSER() | GETREMOTEUSER() | ||
− | |||
==See Also== | ==See Also== | ||
− | [[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST | + | [[GETLOCALHOST()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[ISSERVER()]] |
− | + | ||
==Description== | ==Description== | ||
− | The GETREMOTEUSER() function returns the user name used by the current client to connect to the | + | 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== | ==Example== | ||
Line 22: | Line 18: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Environment Functions]] | [[Category:Environment Functions]] | ||
+ | [[Category:Lianja VFP Extensions]] | ||
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 07:27, 10 December 2012
Contents
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()