I've developed a number of automation server applications which must run as
a predefined user. At present I'm using DCOMCNFG to set the Identity to use
this special user account.

Can anyone please tell me how to set up the Identity from within a Delphi
application? 

It seems that DCOMCNFG adds a "RunAs" value in the
HKEY_CLASSES_ROOT\AppId\{My App Id}, but it must also be storing the
password somewhere, and I've got no idea where that might be!


==================================================================

Tom Munro Glass

+----------------------------------------------------------------+
| E-mail:                                                        |
|     Internet:           [EMAIL PROTECTED]                         |
| Web sites:                                                     |
|     TMG CONSULTANCY:    http://www.tmgcon.com                  |
|     Tewkesbury Web:     http://www.tmgcon.com/tewksweb         |
+----------------------------------------------------------------+
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to