>Larry,
>
>When I run the second exmaple, I get 'Administrator' and 'Guest'.
>
>What I need are the names of ALL users on the network, not just
>the user's with accounts on THIS pc.
>
>In my app, things can be assigned from one user to another, and
>I want to populate a combo with the names of all users .
Kevin,
In order to do this, you need to specify the domain name and machine name of either the primary domain controller (PDC) or one of your back domain controllers (BDC). Both keep user information for the entire domain. If you have already authenticated into the domain then you should be able to get the user information.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao