Inside a network (where username is unique) how can i convert a username to an ip? A method once existed using net send and netstat. Just can't find anything which can be used to establish a unique port to a computer using a username.
Is there any other methode of doing that or some script which is able to do that?
Thanks,
Gabriel
I am not aware of anyway to query a network and get the Home IP address of a machine based on a userID, unless of course that user is currently logged into your program via IP from the workstation in question, in which case the remote IP will be the users IP. Still the username has nothing to do with it.
hey,
no. the machine is also connected to the internet, but i'm talking about a network which is managed by a DC server (active directory) and has a unique username (no 2 usernames). i can resovle (theoretically) the user name if the machines were windows xp with a "net send" command, but with the new "msg" command, it does not seem to find the user name.
I am not aware of anyway to query a network and get the Home IP address of a machine based on a userID, unless of course that user is currently logged into your program via IP from the workstation in question, in which case the remote IP will be the users IP. Still the username has nothing to do with it.
There are work-around like (in win XP) the net send command and then the netstat command to find open netbios but in that case it is able to send a message to the user with only a username and create a conversion into an IP address.
would love something like that but the new msg command in win7 can't seem to send the message with a username...
Bookmarks