Difference between revisions of "USER()"

From Lianjapedia
Jump to: navigation, search
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]]
+
[[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USERDOMAIN()]], [[USERNAME()]], [[USERROLES()]]
  
 
==Description==
 
==Description==

Revision as of 09:49, 1 October 2012

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. This function is synonymous with the ID() function.

Example

?user()
william