Difference between revisions of "ID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return the | + | Function to return the machine and OS account name |
− | + | ||
==Syntax== | ==Syntax== | ||
ID() | ID() | ||
− | |||
==See Also== | ==See Also== | ||
− | [[ | + | [[GETGID()]], [[GETPID()]], [[GETUID()]], [[USER()]], [[USERDOMAIN()]], [[USERNAME()]], [[USERROLES()]] |
− | + | ||
==Description== | ==Description== | ||
− | The ID() function returns the | + | The ID() function returns the computer name, a space, a hash (#), a space and then the OS account name of the current [[USER()|user]]. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | ?id() | + | ? id() |
− | + | My-PC # Winuser | |
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 06:49, 21 May 2014
Contents
Purpose
Function to return the machine and OS account name
Syntax
ID()
See Also
GETGID(), GETPID(), GETUID(), USER(), USERDOMAIN(), USERNAME(), USERROLES()
Description
The ID() function returns the computer name, a space, a hash (#), a space and then the OS account name of the current user.
Example
? id() My-PC # Winuser