Skip to content

Latest commit

 

History

History
181 lines (113 loc) · 8.54 KB

ne-wbemdisp-wbemprivilegeenum.md

File metadata and controls

181 lines (113 loc) · 8.54 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:wbemdisp.WbemPrivilegeEnum
WbemPrivilegeEnum (wbemdisp.h)
Define privileges. These constants are used with SWbemSecurity to grant the privileges required for some operations.
WbemPrivilegeEnum
WbemPrivilegeEnum enumeration [Windows Management Instrumentation]
wbemPrivilegeAudit
wbemPrivilegeBackup
wbemPrivilegeChangeNotify
wbemPrivilegeCreatePagefile
wbemPrivilegeCreatePermanent
wbemPrivilegeCreateToken
wbemPrivilegeDebug
wbemPrivilegeEnableDelegation
wbemPrivilegeIncreaseBasePriority
wbemPrivilegeIncreaseQuota
wbemPrivilegeLoadDriver
wbemPrivilegeLockMemory
wbemPrivilegeMachineAccount
wbemPrivilegeManageVolume
wbemPrivilegePrimaryToken
wbemPrivilegeProfileSingleProcess
wbemPrivilegeRemoteShutdown
wbemPrivilegeRestore
wbemPrivilegeSecurity
wbemPrivilegeShutdown
wbemPrivilegeSyncAgent
wbemPrivilegeSystemEnvironment
wbemPrivilegeSystemProfile
wbemPrivilegeSystemtime
wbemPrivilegeTakeOwnership
wbemPrivilegeTcb
wbemPrivilegeUndock
wbemdisp/WbemPrivilegeEnum
wbemdisp/wbemPrivilegeAudit
wbemdisp/wbemPrivilegeBackup
wbemdisp/wbemPrivilegeChangeNotify
wbemdisp/wbemPrivilegeCreatePagefile
wbemdisp/wbemPrivilegeCreatePermanent
wbemdisp/wbemPrivilegeCreateToken
wbemdisp/wbemPrivilegeDebug
wbemdisp/wbemPrivilegeEnableDelegation
wbemdisp/wbemPrivilegeIncreaseBasePriority
wbemdisp/wbemPrivilegeIncreaseQuota
wbemdisp/wbemPrivilegeLoadDriver
wbemdisp/wbemPrivilegeLockMemory
wbemdisp/wbemPrivilegeMachineAccount
wbemdisp/wbemPrivilegeManageVolume
wbemdisp/wbemPrivilegePrimaryToken
wbemdisp/wbemPrivilegeProfileSingleProcess
wbemdisp/wbemPrivilegeRemoteShutdown
wbemdisp/wbemPrivilegeRestore
wbemdisp/wbemPrivilegeSecurity
wbemdisp/wbemPrivilegeShutdown
wbemdisp/wbemPrivilegeSyncAgent
wbemdisp/wbemPrivilegeSystemEnvironment
wbemdisp/wbemPrivilegeSystemProfile
wbemdisp/wbemPrivilegeSystemtime
wbemdisp/wbemPrivilegeTakeOwnership
wbemdisp/wbemPrivilegeTcb
wbemdisp/wbemPrivilegeUndock
wmi.wbemprivilegeenum
wmi\wbemprivilegeenum.htm
wmi
235a1115-d8c4-4334-a4e0-fc539da4d2ae
12/05/2018
WbemPrivilegeEnum, WbemPrivilegeEnum enumeration [Windows Management Instrumentation], wbemPrivilegeAudit, wbemPrivilegeBackup, wbemPrivilegeChangeNotify, wbemPrivilegeCreatePagefile, wbemPrivilegeCreatePermanent, wbemPrivilegeCreateToken, wbemPrivilegeDebug, wbemPrivilegeEnableDelegation, wbemPrivilegeIncreaseBasePriority, wbemPrivilegeIncreaseQuota, wbemPrivilegeLoadDriver, wbemPrivilegeLockMemory, wbemPrivilegeMachineAccount, wbemPrivilegeManageVolume, wbemPrivilegePrimaryToken, wbemPrivilegeProfileSingleProcess, wbemPrivilegeRemoteShutdown, wbemPrivilegeRestore, wbemPrivilegeSecurity, wbemPrivilegeShutdown, wbemPrivilegeSyncAgent, wbemPrivilegeSystemEnvironment, wbemPrivilegeSystemProfile, wbemPrivilegeSystemtime, wbemPrivilegeTakeOwnership, wbemPrivilegeTcb, wbemPrivilegeUndock, wbemdisp/WbemPrivilegeEnum, wbemdisp/wbemPrivilegeAudit, wbemdisp/wbemPrivilegeBackup, wbemdisp/wbemPrivilegeChangeNotify, wbemdisp/wbemPrivilegeCreatePagefile, wbemdisp/wbemPrivilegeCreatePermanent, wbemdisp/wbemPrivilegeCreateToken, wbemdisp/wbemPrivilegeDebug, wbemdisp/wbemPrivilegeEnableDelegation, wbemdisp/wbemPrivilegeIncreaseBasePriority, wbemdisp/wbemPrivilegeIncreaseQuota, wbemdisp/wbemPrivilegeLoadDriver, wbemdisp/wbemPrivilegeLockMemory, wbemdisp/wbemPrivilegeMachineAccount, wbemdisp/wbemPrivilegeManageVolume, wbemdisp/wbemPrivilegePrimaryToken, wbemdisp/wbemPrivilegeProfileSingleProcess, wbemdisp/wbemPrivilegeRemoteShutdown, wbemdisp/wbemPrivilegeRestore, wbemdisp/wbemPrivilegeSecurity, wbemdisp/wbemPrivilegeShutdown, wbemdisp/wbemPrivilegeSyncAgent, wbemdisp/wbemPrivilegeSystemEnvironment, wbemdisp/wbemPrivilegeSystemProfile, wbemdisp/wbemPrivilegeSystemtime, wbemdisp/wbemPrivilegeTakeOwnership, wbemdisp/wbemPrivilegeTcb, wbemdisp/wbemPrivilegeUndock, wmi.wbemprivilegeenum
wbemdisp.h
Windows
Windows Vista
Windows Server 2008
Wbemdisp.idl
Windows
WbemPrivilegeEnum
19H1
WbemPrivilegeEnum
wbemdisp/WbemPrivilegeEnum
c++
APIRef
kbSyntax
HeaderDef
Wbemdisp.h
WbemPrivilegeEnum

WbemPrivilegeEnum enumeration

-description

The WbemPrivilegeEnum constants define privileges. These constants are used with SWbemSecurity to grant the privileges required for some operations. For more information, see Privilege Constants.

The WMI scripting type library, wbemdisp.tlb defines these constants. Microsoft Visual Basic applications can access this library; script languages must use the value of the constant directly, unless they use Windows Script Host (WSH) XML file format. For more information, see Using the WMI Scripting Type Library.

-enum-fields

-field wbemPrivilegeCreateToken:1

Required to create a primary token.

-field wbemPrivilegePrimaryToken:2

Required to assign the primary token of a process.

-field wbemPrivilegeLockMemory:3

Required to lock physical pages in memory.

-field wbemPrivilegeIncreaseQuota:4

Required to increase the quota assigned to a process.

-field wbemPrivilegeMachineAccount:5

Required to create a machine account.

-field wbemPrivilegeTcb:6

Identifies its holder as part of the trusted computer base. Some trusted, protected subsystems are granted this privilege.

-field wbemPrivilegeSecurity:7

Required to perform a number of security-related functions, such as controlling and viewing audit messages. This privilege identifies its holder as a security operator.

-field wbemPrivilegeTakeOwnership:8

Required to take ownership of an object without being granted discretionary access. This privilege allows the owner value to be set only to those values that the holder may legitimately assign as the owner of an object.

-field wbemPrivilegeLoadDriver:9

Required to load or unload a device driver.

-field wbemPrivilegeSystemProfile:10

Required to gather profiling information for the entire system.

-field wbemPrivilegeSystemtime:11

Required to modify the system time.

-field wbemPrivilegeProfileSingleProcess:12

Required to gather profiling information for a single process.

-field wbemPrivilegeIncreaseBasePriority:13

Required to increase the base priority of a process.

-field wbemPrivilegeCreatePagefile:14

Required to create a paging file.

-field wbemPrivilegeCreatePermanent:15

Required to create a permanent object.

-field wbemPrivilegeBackup:16

Required to perform backup operations.

-field wbemPrivilegeRestore:17

Required to perform restore operations. This privilege enables you to set any valid user or group security identifier (SID) as the owner of an object.

-field wbemPrivilegeShutdown:18

Required to shut down a local system.

-field wbemPrivilegeDebug:19

Required to debug a process.

-field wbemPrivilegeAudit:20

Required to generate audit-log entries.

-field wbemPrivilegeSystemEnvironment:21

Required to modify the nonvolatile RAM of systems that use this type of memory to store configuration information.

-field wbemPrivilegeChangeNotify:22

Required to receive notifications of changes to files or directories. This privilege also causes the system to skip all traversal access checks. It is enabled by default for all users.

-field wbemPrivilegeRemoteShutdown:23

Required to shut down a system using a network request.

-field wbemPrivilegeUndock:24

Required to remove a computer from a docking station.

-field wbemPrivilegeSyncAgent:25

Required to synchronize directory service data.

-field wbemPrivilegeEnableDelegation:26

Required to enable computer and user accounts to be trusted for delegation.

-field wbemPrivilegeManageVolume:27

Required to perform volume maintenance tasks.

-see-also

Privilege Constants

SWbemSecurity.Privileges

Scripting API Constants