Take a look at Win32Admin.WTSQuerySessionInfo.

You can find the DLL on my web site. (if it is working yet)

[ 05. September 2003, 01:44: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/