Hi gregmiami,
you can probably change the below to get out some of what you want. you can read the .ldb directly as a text file ( just send it to notepad ) and see what it contains. Our PC names here are 10 chars long, if yours are a different length then just change the 12 below to a relevant number.
The below code sends a message ( txtMessage ) to every user currently logged in.
I guess that if you have a copy of 'who has' or somethin similar you could then look up who is logged onto the PC id's returned.
Function SendShutDown(ZFileName As String, txtMessage As String) As String
Dim AFile As Integer
Dim strCommandLine As String
Dim strComputerName As String
AFile = FreeFile
Open ZFileName For Input Shared As #AFile ' Create filename.
SendShutDown = "Message sent to: "
Do While Not EOF(AFile)
strComputerName = Input(36, #AFile) ' Get one user
strCommandLine = "NET SEND " & Left(strComputerName, 12) & " " & txtMessage
Shell (strCommandLine)
SendShutDown = SendShutDown & Left(strComputerName, 12) & "; "
Loop
Close #AFile ' Close file.
End Function
Chances are that if you have inbuilt access security set up there's a far easier way of doing this. Also I have no idea if this works for 2k or not - I only have '97
HTH
Drew