ImpersonationLevel ImpersonationLevel ImpersonationLevel ImpersonationLevel Enum

Definition

Describes the impersonation level to be used to connect to WMI.

public enum class ImpersonationLevel
public enum ImpersonationLevel
type ImpersonationLevel = 
Public Enum ImpersonationLevel
Inheritance
ImpersonationLevelImpersonationLevelImpersonationLevelImpersonationLevel

Fields

Anonymous Anonymous Anonymous Anonymous 1

Anonymous COM impersonation level that hides the identity of the caller. Calls to WMI may fail with this impersonation level.

Default Default Default Default 0

Default impersonation.

Delegate Delegate Delegate Delegate 4

Delegate-level COM impersonation level that allows objects to permit other objects to use the credentials of the caller. This level, which will work with WMI calls but may constitute an unnecessary security risk, is supported only under Windows 2000.

Identify Identify Identify Identify 2

Identify-level COM impersonation level that allows objects to query the credentials of the caller. Calls to WMI may fail with this impersonation level.

Impersonate Impersonate Impersonate Impersonate 3

Impersonate-level COM impersonation level that allows objects to use the credentials of the caller. This is the recommended impersonation level for WMI calls.

Applies to