Article ID: 206484 - View products that this article applies to.
This article was previously published under Q206484
You can use the DCOMCNFG utility to programmatically make Distributed Component Object Model (DCOM) security settings (such as the access and launch permissions for a COM server) set and retrieve the RunAs setting for a COM server, and so on.
The DCOMPERM sample at the following Microsoft Developer Network (MSDN) Web site shows how to modify DCOM permissions:
The Application Programming Interfaces (APIs) that are used in the DCOMPERM sample require Microsoft Windows NT or Microsoft Windows 2000; as a result, the DCOMPERM sample does not run on a Microsoft Windows 9x platform.
Article ID: 206484 - Last Review: April 19, 2007 - Revision: 4.5