Try the ChangeServiceConfig API.

HTH,
Stoyan

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler
Sent: Monday, October 06, 2003 8:48 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Way to set COM+/Enterprise services attribute for
application account?

Is there a way to programatically set the Account/password that a Serviced
application will run as? Either through attribute decoration or through a
mechanism like a Custom Action and use of the RegistrationHelper class.

i.e in the Component Services Explorer ...
Select a COM+ application (right-click)/Properties/Identity tab/This
user/"This application will run under the following account"

It appears that I can set just about every other attribute but I find
nothing to set this attribute at COM+ application install time.

===================================
This list is hosted by DevelopMentorR  http://www.develop.com NEW! ASP.NET
courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to