Privileges | Getuid-x64 Require Administrator

Windows Vista introduced . Processes run at different levels:

This is the core question. In Linux, any user can call getuid() . On Windows, however, the emulated getuid() function often needs to: