Setting Folder Security Error

Setting Folder Security Error

Post by sanjosedd » Sun, 02 Feb 2003 07:24:01


I am trying to setup folder security  using this piece of

Set sec = CreateObject("AdsSecurity")
as_FolderPath = "c:\code"
Set sd = sec.GetSecurityDescriptor("FILE://" &
Set dacl = sd.DiscretionaryACL

The dacl object does not get set(Object variable or
With.... error).I have used this code before on the same
machine and was working fine.

Please help.
San Jose