Click or drag to resize

UserAccountControl Methods

The UserAccountControl type exposes the following members.

Methods
  Name Description
Public method Static member CreateProcessAsAdmin Creates a process under the elevated token, regardless of UAC settings or the manifest associated with that process.
Public method Static member CreateProcessAsStandardUser Creates a process under the standard user if the current process is elevated. The identity of the standard user is determined by retrieving the user token of the currently running Explorer (shell) process.
Public method Static member DisableUac Disables User Account Control by changing the LUA registry key. The changes do not have effect until the system is restarted.
Public method Static member DisableUacAndRestartWindows Disables User Account Control and restarts the system.
Public method Static member EnableUac Enables User Account Control by changing the LUA registry key. The changes do not have effect until the system is restarted.
Public method Static member EnableUacAndRestartWindows Enables User Account Control and restarts the system.
Top
See Also