"Brett" <no@spam.com> schrieb:
In task manager of Win2003 Server, I can see who is logged on. I want to
programmaticall y access this information. Is there a log file or
something I can access to get it?
You can do that using p/invoke:
List of sessions on a system:
Platform SDK: Authentication -- Enumerating Logon Sessions
<URL:http://msdn.microsoft. com/library/en-us/secauthn/security/enumerating_log on_sessions.asp >
Information about each session:
Platform SDK: Authentication -- Retrieving Logon Session Information
<URL:http://msdn.microsoft. com/library/en-us/secauthn/security/retrieving_logo n_session_infor mation.asp>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>