You have some options depending on the OS:
Use System.Management (WMI) and query the Win32_Process tree, or PInvoke the WTS API's (W2K3 and XP) or PInvoke the OpenProcessToken
using the process handle returned by GetProcesses.
Willy.
Rainer Worbis wrote:
|| How is it possible to get the user thats running a process retrieved
|| by System.Diagnostics.Process.getProcesses() ?
||
|| Rainer