Difference between revisions of "USER()"

From Lianjapedia
Jump to: navigation, search
Line 9: Line 9:
  
 
==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==

Revision as of 06:50, 21 May 2014

Purpose

Function to return the login name of the current user

Syntax

USER()

See Also

GETGID(), GETPID(), GETUID(), ID(), USERDOMAIN(), USERNAME(), USERROLES()

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