Creating/Amending Access Control Lists from VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnmburgess
    New Member
    • Jul 2006
    • 4

    Creating/Amending Access Control Lists from VB.NET

    I am trying to give local machine users full access to a folder on their machine.
    I am logging in to the local machine as a member of the administrators group but I am still unable to programatically grant access to the users group.
    I have tried running the CACLS utility through the shell function and also tried running a batch file but with no success.
    I have played about with the cacls utility including trying the
    echo y| cacls myfolder /E /G users:F
    method suggested by Microsoft.
    Has anybody else encountered this problem? Can it be solved without resorting to using the Shell command?
Working...