Use the Permission interface FileUpload property to determine if group or client has permission to upload to a folder, and to allow or deny uploading permission.
Signature:
HRESULT FileUpload([out, retval] VARIANT_BOOL *pVal);
HRESULT FileUpload([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.