Difference between revisions of "USER()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
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== | ||
− | + | [[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> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 11:05, 10 February 2012
Contents
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