Visible to Intel only — GUID: GUID-742B655E-C258-4A00-8281-F0C2BC64CABC
Visible to Intel only — GUID: GUID-742B655E-C258-4A00-8281-F0C2BC64CABC
GETUID
Portability Function: Returns the user ID of the calling process.
Module
USE IFPORT
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:
Linux
This function returns the user identity for the current process.
- Windows
This function returns the last subauthority of the security identifier for the process. This is unique on a local machine and unique within a domain for domain accounts.
Note that on Windows systems, domain accounts and local accounts can overlap.
Example
USE IFPORT
integer(4) istat
istat = GETUID( )