Hi all,
I'm currently developing my first ASP.Net site, which is a single page site that will be intranet published to allow end users to carry out VMM functions by running Powershell commands on a backend that will connect to VMM.
I need to use the calling users credentials to carry out some of the powershell commands so that the VMM connection runs in the context of that user (and in turn they only get the relevant VM access)
However I also need to run some functions as the app pool identity so carry out some things the end user account does not have permission to do.
Everything seemed to work great, until I tested it with multiple users - see the scenario below;
UserA - No VMM account
UserB - Has VMM access
I start the site and load the page as 'UserA' - the page returns the VMM logon error in it's status window (expected, and OK so far!)
Now without restarting IIS / App Pool I (on another machine) connect ...
Go to the complete details ...