Does GetUserName not just get the current user of the workstation. What if you're running terminal server and want to monitor all applications and the User who initiated the application?
I've found API's to list all processes running on a machine. We are running terminal server though and I want to log who is the User that "owns" the application. I have tried GetTokenInformation but this seems to give the username of the server machine and not the user who "owns" the app. Sorry a bit difficult to describe.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.