[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return current user ID
Source position: oldlinux.pp line 1370
function GetUid: LongInt; |
Get the real user ID of the currently running process.
None.
|
Return effective user ID |
Program Example17; { Program to demonstrate the GetUid and GetEUid functions. } Uses oldlinux; begin writeln ('User Id = ',getuid,' Effective user Id = ',geteuid); end.
lazarus-ccr.sourceforge.net |