Difference between revisions of "USER()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return the login name of the current user
 
Function to return the 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()]], [[ID()]]
 
+
  
 
==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.  This function is synonymous with the ID() function.
 
  
 
==Example==
 
==Example==
Line 21: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 11:05, 10 February 2012

Purpose

Function to return the login name of the current user

Syntax

USER()

See Also

GETGID(), GETPID(), GETUID(), ID()

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.

Example

?user()
william