ACCESS()

From Lianjapedia
Jump to: navigation, search

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