Use the Permission interface DirDelete property to determine if a group or client has permissions to delete folders within a folder, and to allow or prohibit folder deletion.
Signature:
HRESULT DirDelete([out, retval] VARIANT_BOOL *pVal);
HRESULT DirDelete([in] VARIANT_BOOL newVal);
True = Allowed
False = Prohibited
Refer to Permission Interface Properties for an illustration of how this and other Permission properties can be accessed in the Administrator interface.