General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
Add
Authorize
CanDoFileOperation
ChangePassword
Delete
GetAnonymousUserID
GetByID
GetByLogin
GetCount
GetEmail
GetExternalAuthList
GetFirstName
GetFullName
GetID
GetLastName
GetList
GetLogin
GetParam
GetPasswordHash
GetUserGroup
GetUserGroupArray
GetUserGroupList
GetUserGroupString
IsAdmin
IsAuthorized
IsOnLine
Login
LoginByHash
Logout
Register
SavePasswordHash
SendPassword
SendUserInfo
SetLastActivityDate
SetParam
SetUserGroup
SetUserGroupArray
SimpleRegister
Update
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
Up