Difference between revisions of "USER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
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== | ||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USERDOMAIN()]], [[USERNAME()]], [[USERROLES()]] | + | [[GETGID()]], [[GETPID()]], [[GETUID()]], [[ID()]], [[USERDOMAIN()]], [[USEREMAIL()]], [[USERNAME()]], [[USERROLES()]] |
==Description== | ==Description== | ||
Line 19: | Line 19: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Users and Roles]] |
Revision as of 08:10, 1 October 2014
Contents
Purpose
Function to return the (OS) login name of the current user
Syntax
USER()
See Also
GETGID(), GETPID(), GETUID(), ID(), USERDOMAIN(), USEREMAIL(), 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