Difference between revisions of "ACCESS()"

From Lianjapedia
Jump to: navigation, search
(Description)
 
(2 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==
Line 9: Line 9:
  
 
==Description==
 
==Description==
The ACCESS() function returns the group number to which the user has been assigned by the system manager.
+
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==

Latest revision as of 12:17, 17 December 2021

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