NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Interoperation with COM+ 1.0 Security

You can extend an existing COM+ 1.0 application with new NGWS managed components. The COM+ 1.0 security context is still managed by COM+ 1.0, and the COM+ 1.0 administrative user interface is used to configure the application. Basically, from a COM+ 1.0 application, NGWS objects look like COM+ 1.0 objects.

To make NGWS objects visible to COM+ 1.0 security services, you must mark the class with the ComEmulate custom attribute. This mechanism ensures that all calls into that class are made using COM-compatible mechanisms. You must also run tools (TlbExp.exe) supplied by the NGWS SDK to generate type libraries for the public interfaces and register the objects so that COM+ 1.0 can locate them. In this case, COM+ 1.0 administrative facilities must be used to configure roles and other role-based security behavior.

There are some limitations to COM+ 1.0 security interoperability. For example, you cannot use COM+ 1.0 security from a "pure" NGWS application. In addition, COM+ 1.0 security properties are not propagated across process or machine boundaries or to newly created execution threads within managed code. COM+ 1.0 security services can only be used by managed code on Windows 2000 systems.

For more information, see COM+ 1.0 Interop.