Difference between revisions of "ACCESS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→Description) |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to return user access group | + | Function to return Linux user access group |
− | + | ||
==Syntax== | ==Syntax== | ||
ACCESS() | ACCESS() | ||
− | |||
==See Also== | ==See Also== | ||
− | + | [[GETENV()]], [[GETGID()]], [[GETGRNAM()]], [[GETPID()]], [[GETPROT()]], [[GETUID()]], [[SETPROT()]], [[STR()]] | |
− | + | ||
==Description== | ==Description== | ||
− | The ACCESS() function returns the group number | + | The ACCESS() function returns the group number of the current Linux user. |
+ | Note: this refers to the OS user account on Linux, not the Lianja [[Users and Roles]]. | ||
==Example== | ==Example== | ||
Line 21: | Line 19: | ||
endif | endif | ||
</code> | </code> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Latest revision as of 12:17, 17 December 2021
Contents
Purpose
Function to return Linux user access group
Syntax
ACCESS()
See Also
GETENV(), GETGID(), GETGRNAM(), GETPID(), GETPROT(), GETUID(), SETPROT(), STR()
Description
The ACCESS() function returns the group number of the current Linux user.
Note: this refers to the OS user account on Linux, not the Lianja Users and Roles.
Example
if access() > 100 dialog box "Sorry, access denied." endif