Export (0) Print
Expand All
Expand Minimize

ImpersonationLevel Enumeration

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

[Visual Basic]
<Serializable>
Public Enum ImpersonationLevel
[C#]
[Serializable]
public enum ImpersonationLevel
[C++]
[Serializable]
__value public enum ImpersonationLevel
[JScript]
public
   Serializable
enum ImpersonationLevel

Members

Member name Description
Anonymous Anonymous COM impersonation level that hides the identity of the caller. Calls to WMI may fail with this impersonation level.
Default Default impersonation.
Delegate 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-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-level COM impersonation level that allows objects to use the credentials of the caller. This is the recommended impersonation level for WMI calls.

Requirements

Namespace: System.Management

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Management (in System.Management.dll)

See Also

System.Management Namespace

Show:
© 2014 Microsoft