Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IWbemUnsecuredApartment interface

The IWbemUnsecuredApartment interface allows client applications to determine whether Unsecapp.exe performs access checks on asynchronous callbacks. Unsecapp.exe supports both IUnsecuredApartment and IWbemUnsecuredApartment interfaces.

When to use

IWbemUnsecuredApartment should be used for asynchronous calls to Windows Management Instrumentation (WMI) from client applications running on Windows Server 2003. By setting the WBEM_UNSECAPP_FLAG_TYPE flag, an application can programmatically specify whether or not access control is performed by Unsecapp.exe.

Members

The IWbemUnsecuredApartment interface inherits from IUnsecuredApartment. IWbemUnsecuredApartment also has these types of members:

Methods

The IWbemUnsecuredApartment interface has these methods.

MethodDescription
CreateSinkStub

The CreateSinkStub method is similar to the IUnsecuredApartment::CreateObjectStub method. It creates an object forwarder sink and performs access checks for receiving asynchronous calls from WMI.

 

Remarks

IWbemUnsecuredApartment is similar to IUnsecuredApartment, which also creates a sink in a separate process. In Windows XP, you must perform your own access checks because Unsecapp.exe does not do access checking on those platforms. For more information, see Performing Access Checks.

HKEY_LOCAL_MACHINE\software\microsoft\wbem\CIMOM\UnsecAppAccessControlDefault

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Unsecapp.exe

See also

Setting Security on an Asynchronous Call
IUnSecuredApartment
Lowering the Security for a Sink in a Separate Process
Performing Access Checks

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.