>Hi,
>Im trying to check for a process running in one machine with api calls, all works fine but the problem rises when i try to get the processes only for the current user not for all the logged in...
>Does anybody knows how to differentiate between?
Given a Process handle, you could use GetUserObjectInformation() or GetUserObjectSecurity() or given a threadID, you could use GetThreadDesktop() to differentiate the owner of a given process.