Difference between revisions of "GETGRNAM()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→Purpose) |
Yvonne.milne (Talk | contribs) (→Description) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
==Description== | ==Description== | ||
− | The GETGRNAM() function returns the group name of the current user. | + | The GETGRNAM() function returns the group name of the current Linux user. |
+ | |||
+ | Note: this refers to the OS user account on Linux, not the Lianja [[Users and Roles]]. | ||
==Example== | ==Example== |
Latest revision as of 12:18, 17 December 2021
Contents
Purpose
Function to get Linux group name
Syntax
GETGRNAM()
See Also
ACCESS(), GETENV(), GETGID(), GETPID(), GETUID(), PUTENV()
Description
The GETGRNAM() function returns the group name of the current Linux user.
Note: this refers to the OS user account on Linux, not the Lianja Users and Roles.
Example
use accounts @2,3 get name @3,3 get rates; when getgrnam() = "lianja" read