I have a VB.NET console app that will run nightly via scheduler. Also, this exe can be initiated by a small little ASP.NET web form I created that simply has a button that fires off the exe located on our server using some code I created in my aspx.vb file using the System.Diagnostics.Process namespace
How can I capture:
1) The UserID that is set in my sheduler who runs the exe every night via the scheduled task
2) The user who clicks on my button
I need to insert this information into a trail table so I need to know how to grab this info in both cases in VB.NET v2.0 specifically...please no VB.NET v1.0 or 1.1 here.