Visible to Intel only — GUID: GUID-ACA03307-F57A-4A81-84BA-5679315E95A7
Visible to Intel only — GUID: GUID-ACA03307-F57A-4A81-84BA-5679315E95A7
GETGID
Portability Function: Returns the group ID of the user of a process.
Module
USE IFPORT
result = GETGID( )
Results
The result type is INTEGER(4). The result corresponds to the primary group of the user under whose identity the program is running. The result is returned as follows:
Linux and macOS
This function returns the group 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
ISTAT = GETGID( )