Difference between revisions of "USER()"

From Lianjapedia
Jump to: navigation, search
(Products)
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to return the login name of the current user
+
Function to return the (OS) login name of the current user
 
+
  
 
==Syntax==
 
==Syntax==
 
USER()
 
USER()
 
  
 
==See Also==
 
==See Also==
[[DISPLAY USERS]], [[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[LIST USERS]]
+
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[Guide to the Users Workspace (Video)]], [[ID()]], [[MASKEDDATA()]], [[USERDATAMASK()]], [[USERDOMAIN()]], [[USEREMAIL()]], [[USERFULLNAME()]], [[USERNAME()]], [[USERROLES()]], [[USERROWFILTER()]], [[USERTENANCY()]], [[Users Tables]]
 
+
  
 
==Description==
 
==Description==
The USER() function returns the login name of the current user.  The login name is assigned by the operating system.  This function is synonymous with the ID() function.
+
The USER() function returns the login name of the current user.  The login name is assigned by the operating system.  The USERNAME() function returns the Lianja login name.
 
+
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
?user()
+
? user()
 
william
 
william
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Users and Roles]]

Latest revision as of 10:52, 24 February 2017

Purpose

Function to return the (OS) login name of the current user

Syntax

USER()

See Also

GETGID(), GETPID(), GETUID(), Guide to the Users Workspace (Video), ID(), MASKEDDATA(), USERDATAMASK(), USERDOMAIN(), USEREMAIL(), USERFULLNAME(), USERNAME(), USERROLES(), USERROWFILTER(), USERTENANCY(), Users Tables

Description

The USER() function returns the login name of the current user. The login name is assigned by the operating system. The USERNAME() function returns the Lianja login name.

Example

? user()
william