Home All Groups Group Topic Archive Search About
Author
7 Mar 2006 2:09 PM
hui
How can I get User list from Windows and what can they do? such as I login
win2000 pro with administrator, I can find all user by computer manager:

Administrator, all
user1, only read
user2, only read and write
......
userN, only read

hui

Author
7 Mar 2006 6:27 PM
Karl E. Peterson
hui wrote:
> How can I get User list from Windows and what can they do? such as I
> login win2000 pro with administrator, I can find all user by computer
> manager:
>
> Administrator, all
> user1, only read
> user2, only read and write
> .....
> userN, only read

You'll want to look at functions such as NetUserEnum, NetUserGetGroups,
NetUserGetLocalGroups, etc.  There are examples of all, on the net.  Holler
if they trip you up.
--
Working without a .NET?
http://classicvb.org/