Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImpersonationLevel Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public enum ImpersonationLevel

Member nameDescription
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.

.NET Framework
Available since 1.1
Return to top
Show: