next up previous contents index
Next: GetEnv Up: Functions and procedures Previous: GetEGid

GetEUid

   

Declaration:

Function GetEUid : Longint;

Description:

Get the effective user ID of the currently running process.

Errors:

None.

See also:

GetEUid, geteuid (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