Project: System Information Unit.
Unit: PJSysInfo.
Class: TPJComputerInfo
Applies to: ~>5.0
class function IsUACActive: Boolean;Checks if UAC (user account control) is active on the host computer and returns True if so, or False if not.
Since UAC requires Windows Vista or later, False is always returned Windows XP and earlier.
WARNING: If the program is running on Windows Vista or later in Windows XP or earlier compatibility mode, IsUACActive will always return False regardless of whether UAC is actually active or not.