Hello,
I would like to retrieve the logon date and time values for all sessions logged on a windows 2000 server.
I'm currently using WTSApi32 functions, especially WTSEnumerateSessions and WTSQuerySessionInformation to get info about terminal sessions. However, the WTSInfoClass does not contain any information regarding logged time, session idle time nor session active time. I would be gratefull if you could give me any advice.
Another thing, i'm trying to use WinStationQueryInformationW but i can't find the definition of WinStationQueryInformationW enumeration. It would be nice if someone could tell me some information about it. Thanks.
sysadmin@feibbank.com - 21 May 2004 14:49 GMT
Have you managed to use the Windows Terminal Services API in .net?