After you have established the folder and files listed above and have created your security groups, you're ready to test. Before we run the scripts, let's take a look at what we have created.
The two functions contained in the myfunctions.kix file are key to the effectiveness of this example. The first function, grouparray(), creates an array of all the security groups of the currently logged-on user.
The second function, groupmap(), searches for each security group and maps drives as specified in the drivemapping.ini file.
Each function is called from the drivemap.kix script file. We run this script by typing: kix32 drivemap.kix from a command prompt in the c:\kixwork folder.