help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpGetuid

Return current user ID

Declaration

Source position: bunxh.inc line 45

function FpGetuid: TUid;

Description

FpGetuid returns the real user ID of the currently running process.

Errors

None.

See also

FpGetGid

  

Return real group ID

FpGetEUid

  

Return effective user ID

FpGetEGid

  

Return effective group ID

FpGetPid

  

Return current process ID

FpGetPPid

  

Return parent process ID

fpSetUID

  

Set the current user ID

Example

Program Example17;

{ Program to demonstrate the GetUid and GetEUid functions. }

Uses BaseUnix;

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505