next up previous contents index
Next: Glob Up: Functions and procedures Previous: GetTime

GetUid

   

Declaration:

Function GetUid : Longint;

Description:

Get the real user ID of the currently running process.

Errors:

None.

See also:

GetEUid, getuid (2)

Example
Program Example17;

{ Program to demonstrate the GetUid and GetEUid functions. }

Uses linux;

begin
  writeln ('User Id = ',getuid,' Effective user Id = ',geteuid);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998