I have a .NET Windows Service written to watch one of our network drives for any deletions. I am running this service as a user service seeing I do not have access to the servers and have to run it as myself to get it to work. Now in part of this service it is suppose to log who deleted a folder. The problem is that everytime something is deleted it shows that I deleted it even when it was another user. What is the best way to fix this? I have tried everything from System.Net.DNS.GetHostName, to Enviroment.UserName. Any help would me most appreciated.
Billy