ACCESS32 (located in \TOOLKIT\SAMPLES\LANSERV\ACCESS32) returns all the access control profiles (ACPs) for a particular resource. You may alter any given ACP by specifying the user and the new permissions.
ACCESS32 demonstrates how to use the following NetAPI functions: Net32AccessAdd, Net32AccessGetInfo, and Net32AccessSetInfo.
This program can operate both locally and remotely. The machine running this program must be logged on to the LAN with administrator authority.