SetACL - Functions - AddTrustee

Author Johnny Josefsson on February 19, 2010 | Print | Bookmark
'remove a SID from an ACL/DACL
objACL.SetObject("C:\1.txt", 1)
objACL.SetAction(4096)
objACL.AddTrustee("S-1-1-0", "", True, False, 512, True, False)
objACL.Run

Was this article helpful?

Yes No

Category: Scripting, VBScript, SetACL

Last updated on April 20, 2010 with 1356 views