Difference between revisions of "GETUID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→Description) |
Yvonne.milne (Talk | contribs) (→Description) |
||
Line 10: | Line 10: | ||
==Description== | ==Description== | ||
The GETUID() function returns the current Linux user number as a decimal value. | The GETUID() function returns the current Linux user number as a decimal value. | ||
+ | |||
+ | Note: this refers to the OS user account on Linux, not the Lianja [[Users and Roles]]. | ||
==Example== | ==Example== |
Latest revision as of 12:17, 17 December 2021
Contents
Purpose
Function to get Linux user identity
Syntax
GETUID()
See Also
ACCESS(), GETENV(), GETGID(), GETGRNAM(), GETPID(), PUTENV(), STR()
Description
The GETUID() function returns the current Linux user number as a decimal value.
Note: this refers to the OS user account on Linux, not the Lianja Users and Roles.
Example
if getuid() > 100 and getuid() < 200 //... endif