USER32 (located in \TOOLKIT\SAMPLES\LANSERV\USER32) is designed to access and control user account information. USER32 can display information about a user, delete a user, or create a new user. When a new user is created, USER32 creates a new alias, gives the user access to it, and makes it a logon assignment for the user; creates a new group and adds the user to it; creates a private application definition and assigns that too to the user.

USER32 demonstrates how to use the following NetAPI functions:

NetStatisticsGet2 retrieves information from both the requester and the server portions of a server machine. Note that these two sets of information, even when they are in the same machine, are quite different.


[Back] [Next]