|
This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
Use the ICISite interface GetFolderPermissions method to retrieve a list of all folder permissions, including inherited permissions.
Signature:
HRESULT GetFolderPermissions(
[in] BSTR bstrFolder,
[out, retval] VARIANT *aPermissions);
Example:
Dim arPermissions: arPermissions = oSite.GetFolderPermissions("/usr/test")
For iCount = LBound(arPermissions) To UBound(arPermissions)
Set oPermission = arPermissions(iCount)
WScript.Echo oPermission.Folder & " - " & oPermission.Client
Next