Get Process owner name from windows C#
I am working on a C# windows application which keeps track of all windows session events on System & record it into Data server.
For single user it is ok.
But for server like server2003,
i want to check if same process with same user is already running then user will get message to log off, because already one session is allocated to his/her id.
But i am not able to get process owner name for myapplication.exe from OS.
Please suggest what to do....
Thanks :)