Access to IIS Pool

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello to all,

I want to access to IIS Pool (for example DefaultPool) and gets the security
user (the user of Pool, tab Identity) and it is possible modify it.

If not possible by C# code, perhaps using script BAT or WSH and call this
script by Process.Start.

Greetings and thanks
 
I think this is what you're looking for. That information is stored in IIS's
metabase which you normally modify using the admin tools.

https://www.microsoft.com/technet/p...4a3-5d84-48fd-b6a7-044dad20c413.mspx?mfr=true

There's a link at the bottom that takes you to a page on implementing metabase
changes via WMI, but I don't see anything using PowerShell or such... more
searching may be required. The keyword to search for appears to be "WAMUserName".

"The WAMUserName property specifies the account user name that IIS uses by
default as the COM+ application identity for newly created IIS out-of-process
applications."

HTH.

-dl
 
Back
Top