John, You can also open the HKEY_Users registry hive and go through the root key names. Domain accounts will start with "S-1-5-21".
James Krummel >From: John Deretich <[EMAIL PROTECTED]> >To: "Perl-Win32-Admin-Request \(E-mail\)" <[EMAIL PROTECTED]> >Subject: signoff message >Date: Fri, 7 Mar 2003 13:08:54 -0800 > >Hi, > >I was wondering if there's a win32 module >that can tell if a user is logged on to there machine? > >thanks, > >John _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
