Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJComputerInfo
Applies to: ~>5.0
class function IsAdmin: Boolean;
Checks if the current user has administrator privileges and returns True if so, or False if not.
True is always returned on the Windows 95 platform, since there is no real concept of "administrator" on the platform.
WARNING: If the program is running on a Windows NT platform operating system in Windows 9x compatibility mode, IsAdmin will always return True regardless of whether the user actually has admin privileges or not.