Network detects if Windows Username is online

  • Thread starter Todd Huttenstine
  • Start date
T

Todd Huttenstine

hey guys

The below code will return the windows username of the
current user.

Dim UName As String * 255
Dim NN
Dim L As Long: L = 255
Dim Res As Long
Res = GetUserName(UName, L)
UName = Left$(UName, L - 1)
NN = Trim(UName)
MsgBox NN

If you know the username of a person currently signed on
the network, how can you message that user over a network
using the the windows login username?


Thank you
todd Huttnestine
 
Top