After playing around with it I figured out the solution as seen in the sample code. This program will first delete the directory if it exists. Next, it will create the new directory. The authority is then changed adding the authorization list. The *public authority is then changed to place the authorities to that of the authorization list. This is done because the authorities applied to the root are used during creation of the directory. The last thing I do is to change the owner of the object to a special user for the application.
Code
Code
Comment