是否可以获取登录名的IP地址? [英] Is it possible to get the ip address for the login name?

查看:80
本文介绍了是否可以获取登录名的IP地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


如果我们知道windows登录名,是否有可能获得网络上机器的IP地址。我假设没有。如果有人知道工作

左右或如何做到这一点,请告诉我

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

推荐答案

你能否详细说明对这一要求的需求?用户可以登录网络上任何一台b
机器。


- 如果程序在用户登录的机器上运行,你可以

知道IP地址而不需要登录名。


- 如果程序在服务器上运行,可能是事件日志条目是

在服务器上生成。例如,事件日志条目肯定是在客户端事件日志安全组上生成的,具有以下信息:


Iniciodesesiórealizado:

Nombre de usuario:CarlosQ

Dominio:SOGECABLE

Id。 de iniciodesesión:(0x0,0x193E7)

Tipo de iniciodesesión:11

Proceso de iniciodesesión:User32

Paquete de autenticación:Negotiate

Nombredeestacióndetrabajo:WTC2I378OPDOSI

GUID de iniciodesesión:{00000000-0000-0000-0000-000000000000}

这是西班牙语,但它说CarlosQ使用

机器WTC2I378OPDOSI登录SOGECABLE域名。使用机器名称,您可以获得IP地址。


因此,如果该事件也在服务器上生成,您可以监控或查询其事件
从您的应用程序登录。


-


Carlos J. Quintero


MZ-Tools 4.0:Visual Studio .NET的生产力插件

您可以更快地编码,设计和记录。
http://www.mztools.com

" rs" <啊******* @ gmail.com> escribióenel mensaje

news:11 ********************** @ c13g2000cwb.googlegr oups.com ...
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...
大家好,

如果我们知道windows登录名,是否可以在网络上获取机器的IP地址。我假设没有。如果有人知道周围的工作或如何做到这一点,请告诉我
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



你能否说出对该请求的需求?用户可以登录网络上任何一台b
机器。


- 如果程序在用户登录的机器上运行,你可以

知道IP地址而不需要登录名。


- 如果程序在服务器上运行,可能是事件日志条目是

在服务器上生成。例如,事件日志条目肯定是在客户端事件日志安全组上生成的,具有以下信息:


Iniciodesesiórealizado:

Nombre de usuario:CarlosQ

Dominio:SOGECABLE

Id。 de iniciodesesión:(0x0,0x193E7)

Tipo de iniciodesesión:11

Proceso de iniciodesesión:User32

Paquete de autenticación:Negotiate

Nombredeestacióndetrabajo:WTC2I378OPDOSI

GUID de iniciodesesión:{00000000-0000-0000-0000-000000000000}

这是西班牙语,但它说CarlosQ使用

机器WTC2I378OPDOSI登录SOGECABLE域名。使用机器名称,您可以获得IP地址。


因此,如果该事件也在服务器上生成,您可以监控或查询其事件
从您的应用程序登录。


-


Carlos J. Quintero


MZ-Tools 4.0:Visual Studio .NET的生产力插件

您可以更快地编码,设计和记录。
http://www.mztools.com

" rs" <啊******* @ gmail.com> escribióenel mensaje

news:11 ********************** @ c13g2000cwb.googlegr oups.com ...
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...
大家好,

如果我们知道windows登录名,是否可以在网络上获取机器的IP地址。我假设没有。如果有人知道周围的工作或如何做到这一点,请告诉我
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



对不起,我们很抱歉。

我正在设计一个内部聊天程序。我不想在服务器端创建另一个

程序来获取每个用户的IP地址。我想知道是否有可能从用户的登录名

知道IP地址。我知道我们可以从电脑上获取IP地址

名称,但用户可能每天都坐在不同的机器上。

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.


这篇关于是否可以获取登录名的IP地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆