Getting username of currently logged on useron remote NT box 
Author Message
 Getting username of currently logged on useron remote NT box

Anyone any ideas as to how to get the username of a currently logged on user
on a remote NT box?

I was thinking that a call of NETWKSTAUSERENUM to NETAPI32.DLL would work
but cannot seem to get either the declare correct or the code for the
wrapper.

Any help greatly appreciated ....

ChiantiDog



Tue, 10 Apr 2001 03:00:00 GMT  
 Getting username of currently logged on useron remote NT box
GetUserName Or GetWindowsUserName API call.... don't remember which it
was... use API viewer to find it.

Quote:

>Anyone any ideas as to how to get the username of a currently logged on
user
>on a remote NT box?

>I was thinking that a call of NETWKSTAUSERENUM to NETAPI32.DLL would work
>but cannot seem to get either the declare correct or the code for the
>wrapper.

>Any help greatly appreciated ....

>ChiantiDog



Sun, 15 Apr 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Getting a username logged onto a remote machine

2. Getting the username logged on to a remote machine

3. How to get the actually logged on username from a remote nt-machine

4. Get username of currently logged in user

5. Obtaining User logged on at Remote NT box

6. Retrieve a username logged in to a remote machine

7. How to get the actually logged on username from a remote machine

8. Getting a Username/Group from the SID of a user logged on the network

9. Finding Logged on UserName in NT

10. Getting Remote Usernames In VB5?

11. Getting Username info from Windows NT

12. Getting the NT username using VB5

 

 
Powered by phpBB® Forum Software