The
WbemAuthenticationLevelEnum constants define the security authentication levels. These constants are used with
SWbemSecurity and in moniker connections to WMI.
The WMI scripting type library, wbemdisp.tlb, defines these constants. Visual Basic applications can access this library.
Script languages must use one of the following:
The following values can be used to set the authentication level.
| Constant/value | Description |
- WbemAuthenticationLevelDefault
- 0 (0x0)
| Short name: Default
WMI uses the default Windows Authentication setting.
|
- WbemAuthenticationLevelNone
- 1 (0x1)
| Short name: None
Uses no authentication.
|
- WbemAuthenticationLevelConnect
- 2 (0x2)
| Short name: Connect
Authenticates the credentials of the client only when the client establishes a relationship with the server.
|
- WbemAuthenticationLevelCall
- 3 (0x3)
| Short name: Call
Authenticates only at the beginning of each call when the server receives the request.
|
- WbemAuthenticationLevelPkt
- 4 (0x4)
| Short name: Pkt
Authenticates that all data received is from the expected client.
|
- WbemAuthenticationLevelPktIntegrity
- 5 (0x5)
| Short name: PktIntegrity
Authenticates and verifies that none of the data transferred between client and server has been modified.
|
- WbemAuthenticationLevelPktPrivacy
- 6 (0x6)
| Short name: PktPrivacy
Authenticates all previous impersonation levels and encrypts the argument value of each remote procedure call.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Wbemdisp.h |
| IDL | Wbemdisp.idl |
| Type Library | Wbemdisp.tlb |
See Also
- Scripting API Constants
- Setting the Default Process Security Level Using VBScript
- Setting Security on an Asynchronous Call in VBScript
- Constructing a Moniker String
- SWbemSecurity
Send comments about this topic to Microsoft
Build date: 11/3/2009