Difference between revisions of "GETUID()"

From Lianjapedia
Jump to: navigation, search
(Description)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
Function to get user identity
+
Function to get Linux user identity
  
 
==Syntax==
 
==Syntax==
Line 9: Line 9:
  
 
==Description==
 
==Description==
The GETUID() function returns the user number as a decimal value.
+
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==
 
==Example==
Line 20: Line 22:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Environment]]
 
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 12:17, 17 December 2021

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