By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,165 Members | 1,916 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,165 IT Pros & Developers. It's quick & easy.

Is it possible to get the ip address for the login name?

P: n/a
rs
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

Nov 21 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
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*******@gmail.com> escribió en el mensaje
news:11**********************@c13g2000cwb.googlegr oups.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

Nov 21 '05 #2

P: n/a
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*******@gmail.com> escribió en el mensaje
news:11**********************@c13g2000cwb.googlegr oups.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

Nov 21 '05 #3

P: n/a
rs
Sorry for the confusion.
I am designing an internal chat program. I don't want to create another
program in the serverside to get the ip address of each user. I was
wondering if it is possible to know the ip address from the login name
of the user. I know that we can get the ip address from the computer
name but the user might sit on a different machine everyday.

Nov 21 '05 #4

P: n/a
rs
Sorry for the confusion.
I am designing an internal chat program. I don't want to create another
program in the serverside to get the ip address of each user. I was
wondering if it is possible to know the ip address from the login name
of the user. I know that we can get the ip address from the computer
name but the user might sit on a different machine everyday.

Nov 21 '05 #5

P: n/a
Your best bet is to query the WINS server (assuming your network has one).
There is a free utility called NPING that does this. However, I have no
code.

--

Bob

--------------------------------------
I'll have a B please Bob.

"rs" <ah*******@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.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

Nov 21 '05 #6

P: n/a
Your best bet is to query the WINS server (assuming your network has one).
There is a free utility called NPING that does this. However, I have no
code.

--

Bob

--------------------------------------
I'll have a B please Bob.

"rs" <ah*******@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.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

Nov 21 '05 #7

P: n/a
Why not have the client machine send in the IP when the user logs into the
chat program? I can't think of an instance that the server needs to know
the user's IP if they don't have the chat program opened.

Just a thought
Chris
"rs" <ah*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Sorry for the confusion.
I am designing an internal chat program. I don't want to create another
program in the serverside to get the ip address of each user. I was
wondering if it is possible to know the ip address from the login name
of the user. I know that we can get the ip address from the computer
name but the user might sit on a different machine everyday.

Nov 21 '05 #8

P: n/a
Why not have the client machine send in the IP when the user logs into the
chat program? I can't think of an instance that the server needs to know
the user's IP if they don't have the chat program opened.

Just a thought
Chris
"rs" <ah*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Sorry for the confusion.
I am designing an internal chat program. I don't want to create another
program in the serverside to get the ip address of each user. I was
wondering if it is possible to know the ip address from the login name
of the user. I know that we can get the ip address from the computer
name but the user might sit on a different machine everyday.

Nov 21 '05 #9

P: n/a
rs
here is exactly what I am trying to do. I want clients to comunicate
with the IT department to give them support over chat in the company.
IT ppl do not have fixed computer and the users do not use the same
machine everyday. I was thinking if instead of having a program running
in the company server to get the ip address of everyone using that
program, i can find out the ip address of the user by the windows
loggin name.

Thanks
Ahmed

Nov 21 '05 #10

P: n/a
rs
here is exactly what I am trying to do. I want clients to comunicate
with the IT department to give them support over chat in the company.
IT ppl do not have fixed computer and the users do not use the same
machine everyday. I was thinking if instead of having a program running
in the company server to get the ip address of everyone using that
program, i can find out the ip address of the user by the windows
loggin name.

Thanks
Ahmed

Nov 21 '05 #11

P: n/a
why not do this as a web page instead, then it becomes irrelevant which
computer they are using. Or better still, if you have citrix in your
company, put the app on that????

also, IIRC you can use a class to get the IP from the hostname? If not, it
is in the registry somewhere surely.

--

Bob

--------------------------------------
I'll have a B please Bob.

"rs" <ah*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
here is exactly what I am trying to do. I want clients to comunicate
with the IT department to give them support over chat in the company.
IT ppl do not have fixed computer and the users do not use the same
machine everyday. I was thinking if instead of having a program running
in the company server to get the ip address of everyone using that
program, i can find out the ip address of the user by the windows
loggin name.

Thanks
Ahmed

Nov 21 '05 #12

P: n/a
rs
I forgot to mention that the ip address for the IT people is not static as
well.
"Bob Hollness" <bo*@blockbuster.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
why not do this as a web page instead, then it becomes irrelevant which
computer they are using. Or better still, if you have citrix in your
company, put the app on that????

also, IIRC you can use a class to get the IP from the hostname? If not,
it is in the registry somewhere surely.

--

Bob

--------------------------------------
I'll have a B please Bob.

"rs" <ah*******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
here is exactly what I am trying to do. I want clients to comunicate
with the IT department to give them support over chat in the company.
IT ppl do not have fixed computer and the users do not use the same
machine everyday. I was thinking if instead of having a program running
in the company server to get the ip address of everyone using that
program, i can find out the ip address of the user by the windows
loggin name.

Thanks
Ahmed


Nov 21 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.