Difference between revisions of "GETUID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to get user identity | Function to get user identity | ||
− | |||
==Syntax== | ==Syntax== | ||
GETUID() | GETUID() | ||
− | |||
==See Also== | ==See Also== | ||
− | [[ACCESS() | + | [[ACCESS()]], [[GETENV()]], [[GETGID()]], [[GETGRNAM()]], [[GETPID()]], [[PUTENV()]], [[STR()]] |
− | + | ||
==Description== | ==Description== | ||
− | The GETUID() function returns the user number | + | The GETUID() function returns the user number as a decimal value. |
− | + | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | + | if getuid() > 100 and getuid() < 200 | |
− | + | //... | |
− | + | endif | |
− | + | ||
− | + | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Revision as of 10:26, 9 February 2012
Contents
Purpose
Function to get user identity
Syntax
GETUID()
See Also
ACCESS(), GETENV(), GETGID(), GETGRNAM(), GETPID(), PUTENV(), STR()
Description
The GETUID() function returns the user number as a decimal value.
Example
if getuid() > 100 and getuid() < 200 //... endif