Archived from groups: microsoft.public.windowsnt.protocol.tcpip (
More info?)
Just call NetEnumUsers() with host name and you receive list of all users of
this computer,
obviously only one user can log in of current session
Arkady
"ali sinay" <ali sinay@discussions.microsoft.com> wrote in message
news:F5AF5E44-29C8-47E7-B4E9-A41DD1E4EEC3@microsoft.com...
> How can i use NetEnum Users? Could you explain me please?
> thanks
>
> "Arkady Frenkel" wrote:
>
> > many users can use one computer. You can use NetEnumUsers() and check if
> > your user in the list , but such User can be listed on many computers
> > Arkady
> >
> > "alisinay" <alisinay@discussions.microsoft.com> wrote in message
> > news
8CA74D2-3C3D-4D90-8BF6-668776B6F0BA@microsoft.com...
> > > i can find username via computer name, but i want to find computer
name
> > via
> > > user name. So how can i do this? Please help me
> >
> >
> >