I have a DLL I run behind TMG. The DLL fires when the user logs on and passes a user id to an outside proxy server that returns a set of values based on the user id. Right now the user id is hard-coded in my C++/ASP.NET code. I need to pull the person who authenticates with TMG.
So far I can only pull NETWORK SERVICE. Any idea how I can pull the logged on user?