Difference between revisions of "ID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return the | + | Function to return the machine and OS account name |
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
==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