win32security
.LsaEnumerateLogonSessions
(long,...) =
LsaEnumerateLogonSessions(
)
Lists all current logon ids