Results 1 to 3 of 3

Thread: Finding login name on client machine

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    Liskeard, cornwall
    Posts
    21

    Post

    I have written a program that basically pulls a computer name from an ingres database, and then searches for the associated IP number on the NT network. What I would also like to do is retrieve other information from the computer name such as User Login Name, Login Time, etc.

    I have searched through API's such as WIN32 and WSOCK but cannot find any related info.

    I currently user WNetGetUserA which retrieves the login name on my machine and
    GetHostByName to retrieve the IP of any Computer name I type in.

    Is there a way I can enter the IP or Computer Name and retrieve the login name from that machine???

    Please help ... any ideas are welcome.

    yours gratefully

    M.

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Location
    Liskeard, cornwall
    Posts
    21

    Post

    Thats the code I want (cheers)... but what I want to be able to do is actually type in an IP number or computer name and then retrieve the user login (or computer name) from a particular clients machine (not my machine details)... is there a way?

    cheers
    M.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width