Session idel time

  • Thread starter Thread starter kk
  • Start date Start date
K

kk

Guest
Hi Gurus,

Is there a way to get the session idle time. I am able to get the sessionid,
username, workstation id by using the WTSQuerySessionInformation.
But WTSIdleTime could not be retreived.

Any help will be grately appreciated.

Thanks
 
Re: Session idel time

It is available in Vista SP1, Windows 2008 with WTSInfoClass =
WTSSessionInfo.
http://msdn2.microsoft.com/en-us/library/aa383838(VS.85).aspx
Thanks
Soo Kuan

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"kk" <kk@discussions.microsoft.com> wrote in message
news:4A0AF838-ED65-478E-A57D-AEDE4F88CA8F@microsoft.com...
> Hi Gurus,
>
> Is there a way to get the session idle time. I am able to get the
> sessionid,
> username, workstation id by using the WTSQuerySessionInformation.
> But WTSIdleTime could not be retreived.
>
> Any help will be grately appreciated.
>
> Thanks
 
Back
Top