473,563 Members | 2,653 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
12 2580
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

Nov 21 '05 #2
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

Nov 21 '05 #3
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
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
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*******@gmai l.com> wrote in message
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

Nov 21 '05 #6
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*******@gmai l.com> wrote in message
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

Nov 21 '05 #7
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*******@gmai l.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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
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*******@gmai l.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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
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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4416
by: Miguel Orrego | last post by:
Hi, I have found some code that authenticates users agains a domain using ADSI. I then redirect to another page and pass the username they have entered as a string. However, it would be nice to also get their full name from Active Directory once authenticated. Can anyone suggest how I may modify this code to achieve this? I would also like...
12
4703
by: Arno R | last post by:
Hi all, This is a repost of a message posted at october 6. The answer I got was about MapiMessages.AttachmentIndex. I think I need the MSMAPI32.OCX to use this. (I don't have this file on my PC) My newsaccount wasn't working anymore until yesterday, so I'll try again. Question is: I know it is possible to send email with Access, but...
3
2041
by: Bruce Wood | last post by:
I've been mucking about with Environment.UserName and similar properties in .NET. I can get the user's login name for their machine, but unfortunately that doesn't get me much for users logged into our corporate network through laptops: all its gets me is their user ID on the laptop, which means nothing at the corporate level. Does anyone...
0
273
by: rs | last post by:
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
0
1015
by: sasidar.d | last post by:
hi techies I have created a Login web page . It gets the user identity using the window nt authetication. The page is working fine. I have removed the allow anonymous access check box for the virtual directory and then given the check for the integrated window authetication. After deploying the project in the testing server - windows...
4
1913
by: Mike | last post by:
Hi all, In my recent ASP.NET 2.0 appl, I need to verify that the supplied email address is valid or not. So, here's my situation: - In my <profilearea, I created <isVerifiedproperty. - Suppose a new user has been created. I set the profile.isverified to false. OnCreatedUser event I'll send him an email (to the supplied email address) to...
3
10353
by: JDS | last post by:
So, I'd like to create the following scenario: 1) Use cURL library within PHP (cURL + "Cookie Jar", et.al) to create a virtual browser session that "logs in" to a remote site. (For example: here: http://curl.haxx.se/libcurl/php/examples/cookiejar.html and here: http://curl.haxx.se/libcurl/php/examples/ebay_login.html
0
1385
by: contactme | last post by:
Hi, Is it possible to open concurrent connections using Net::IMAP::Simple library ? My IMAP server allows 4 connections per ip, so I am having following problems while using Net::IMAP::Simple and Net::IMAP::Simple::SSL libraries: 1) The method new returns a valid connection even on 5th try, though the login fails as it looks like IMAP->login...
1
1667
by: bradorn | last post by:
I'm making a registration form to be able to log on my site. This is the code for registrating. <html> <body> <?php include ("connect.php"); $login = $_POST; $pass = $_POST; $passconfirm = $_POST; $result = mysql_query("SELECT username FROM users WHERE username = $login"); if(!$result)
0
7664
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7885
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.