GETUID()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to get Linux user identity

Syntax

GETUID()

See Also

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

Description

The GETUID() function returns the current Linux user number as a decimal value.

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

Example

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