Sign in Join
FPDoc Onlineexperiment

FpGeteuid function

In unit BaseUnix

Return effective user ID.

Declaration

pascal
function FpGeteuid: TUid

Description

FpGeteuid returns the effective user ID of the currently running process.

Errors

None.

See also

Example: ex17

pascal
Program Example17;

{ Program to demonstrate the GetUid and GetEUid functions. }

Uses BaseUnix;

begin
  writeln ('User Id = ',fpgetuid,' Effective user Id = ',fpgeteuid);
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.