Intel® Fortran Compiler 16.0 User and Reference Guide
Portability Function: Returns the group ID of the user of a process.
USE IFPORT
result = GETGID( )
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:
On Windows* systems, 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.
On Linux* and OS X* systems, this function returns the group identity for the current process.
USE IFPORT ISTAT = GETGID( )