iTixRuntime::IsAdministrator

On Windows NT-based platforms (Windows NT4, 2000, XP, Server 2003), returns nonzero if the installer is running with Administrator privileges, or FALSE (zero) if not. On Windows 9x/Me platforms the function always returns nonzero because all users have full access to the system on those platforms.

BOOL IsAdministrator(void);

Parameters

none

Return value

Nonzero if the installer runs with Administrator privileges, or FALSE (zero) if not.