GETUID

Portability Function: Returns the user ID of the calling process.

Module

USE IFPORT

Syntax

result = GETUID( )

Results

The result type is INTEGER(4). The result corresponds to the user identity under which the program is running. The result is returned as follows:

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

Example

USE IFPORT

integer(4) istat

ISTAT = GETUID( )