IIS AccessFlags on a IIsWebDirectory
Posted: Thu Jan 14, 2010 4:30 pm
Hi,
I try to modify (get or set) the accessFlags on an IIsWebDirectory.
This is not a Web Site or a Virtual Directory. It’s a folder under a Virtual Directory.
The following lines work well:
But is there a way to do the same thing with a sub-folder inside my virtual directory?
I have tried the following command but it’s always returns: !Error!
Thx
Ps: I’m using IA9 and IIS6.0
I try to modify (get or set) the accessFlags on an IIsWebDirectory.
This is not a Web Site or a Virtual Directory. It’s a folder under a Virtual Directory.
The following lines work well:
Code: Select all
Comment: Getting the AccessFlags of the Default Web Site
Get IIS Folder Property "AccessFlags" into variable IISRIGHTS from site #1Code: Select all
Comment: Getting the AccessFlags of a Virtual Dir under Default Web Site
Get IIS Folder Property "AccessFlags" into variable IISRIGHTS from site #1/myvirtualdirI have tried the following command but it’s always returns: !Error!
Code: Select all
Get IIS Folder Property "AccessFlags" into variable IISRIGHTS from site #1/myvirtualdir/subdirPs: I’m using IA9 and IIS6.0