How can I find the Active user (owner of current desktop window) ?

  • Thread starter Thread starter R-V-R
  • Start date Start date
R

R-V-R

Guest
Hi All,

We are developing a Windows service application using Visual Studio 2012 (VC++). We need to find the 'Active UserName' and 'Session ID' for the Active User from this Windows Service (running as System account). How can we do this in VC++? Anyone, please help.

Active user means 'Owner of the current desktop window'.

Thanks in advance.

R-VR

Continue reading...
 
Back
Top