Pascal Scripting: IsAdminLoggedOn

Prototype:

function IsAdminLoggedOn: Boolean;

Description:

Returns True if the user account that Setup/Uninstall is running under is a member of the local Administrators group.