CanDoFileOperation
CUser::CanDoFileOperation( array $op_name, array $arPath );
The method executes operations with a file. Non-static method.
Parameters
Parameter | Description |
---|---|
op_name | Operation |
Path | Path. Array type: ($arPath = Array($site, $path);) |
Examples of use:
$USER->CanDoFileOperation('fm_create_new_file', $arPath)
© «Bitrix24», 2001-2024