I am building an application that needs to know who is loggin on a computer link to a network. It is a NT 4.0 network. I use the GetUserName API function and it work's Ok. My problem is when 2 users who have the same name but identify by 2 differents domains serveur, how can i check this ? i try whit the LookupAccountName function but it doesn't work.
Could you tell me how to acess the domains names and contents from the NT serveur ...from a VB5 application. (API ?)