Sign in Join
FPDoc Onlineexperiment

FpGetuid function

In unit BaseUnix

Return current user ID.

Declaration

pascal
function FpGetuid: TUid

Description

FpGetuid returns the real 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.