Difference between revisions of "ID()"
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== | ||
ID() | ID() | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[GETGID()]], [[GETPID()]], [[GETUID()]], [[USER()]] | |
− | + | ||
==Description== | ==Description== | ||
The ID() function returns the login name of the current user. The login name is assigned by the operating system. This function is synonymous with the USER() function. | The ID() function returns the login name of the current user. The login name is assigned by the operating system. This function is synonymous with the USER() function. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Example== | ==Example== | ||
Line 27: | Line 17: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 08:02, 10 February 2012
Contents
Purpose
Function to return the login name of the current user
Syntax
ID()
See Also
GETGID(), GETPID(), GETUID(), USER()
Description
The ID() function returns the login name of the current user. The login name is assigned by the operating system. This function is synonymous with the USER() function.
Example
?id() william