Object: | Folder | ||||||||||||||||||||||||||||||||||||
Syntax: | AllowAccess ([in] AccountName, [in] Permissions [PermissionType]) | ||||||||||||||||||||||||||||||||||||
Description: | This method creates an Access Control Entry (ACE) for the current folder that allows
specific access. The AccountName must resolve to a valid NT account in the domain. The Permissions can have any of the following values or any logical combination of the following values:
These constants can be found using the IIS 4 or later TypeLibrary feature, or by viewing the vbFileManagerInclude.asp file contained in the .\Samples\FileManagerSamplesdirectory. PermissionType is an optional parameter. By default, its value is 3. If set to 1, permission is for files. If set to 2, permission is for directories. If 3, permission is for both files and directories. |