Can you ellaborate the need for that request? A user could logon on any
machine of your network.
- If the program is running on the machine where the user is logged, you can
know the IP address without needing the login name.
- If the program is running on a the server, maybe an event log entry is
generated on the server. For example an event log entry is certainly
generated on the client event log, Security group, with this info:
Inicio de sesión realizado:
Nombre de usuario: CarlosQ
Dominio: SOGECABLE
Id. de inicio de sesión: (0x0,0x193E7)
Tipo de inicio de sesión: 11
Proceso de inicio de sesión: User32
Paquete de autenticación: Negotiate
Nombre de estación de trabajo: WTC2I378OPDOSI
GUID de inicio de sesión: {00000000-0000-0000-0000-000000000000}
It is in Spanish but it says that CarlosQ logged on SOGECABLE domain using
machine WTC2I378OPDOSI. With the machine name you can get the IP address.
So, if that event is generated on the server too, you can monitor or query
its event log from your app.
--
Carlos J. Quintero
MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"rs" <ah*******@gmai l.com> escribió en el mensaje
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
Hello everyone,
Is it possible to get the IP address of a machine on the network if we
know the windows login name. I am assuming NO. If anyone knows a work
around or how this can be done, please let me know