GETGID()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to get Linux group identity

Syntax

GETGID()

See Also

ACCESS(), GETENV(), GETGRNAM(), GETPID(), GETUID(), PUTENV(), STR()

Description

The GETGID() function returns the group number of the current Linux user as a decimal value.

Note: this refers to the OS user account on Linux, not the Lianja Users and Roles.

Example

if getgid() > 100 and getgid() < 200
//...
endif