Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 656 Bytes

File metadata and controls

21 lines (12 loc) · 656 Bytes

IsUACActive class function

Project: System Information Unit.

Unit: PJSysInfo.

Class: TPJComputerInfo

Applies to: ~>5.0

class function IsUACActive: Boolean;

Description

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.