linkUACExecutionLevel Enum

Definition

Specifies whether User Account Control (UAC) information is embedded in the program manifest.

C++/CX
public enum class linkUACExecutionLevel
Inheritance
linkUACExecutionLevel

Fields

Name Value Description
linkUACExecutionLevelAsInvoker 0

The application will run with the same permissions as the process that started it. This value is equivalent to the asInvoker link option parameter.

linkUACExecutionLevelHighestAvailable 1

The application will run with the highest permission level that it can. This value is equivalent to the highestAvailable link option parameter.

linkUACExecutionLevelRequireAdministrator 2

The application will run with administrator permissions. This value is equivalent to the requireAdministrator link option parameter.

Remarks

This enumeration corresponds to the /MANIFESTUAC (Embeds UAC information in manifest) linker option. For more information, see the _level parameter of the /MANIFESTUAC:level version of the linker option.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022