Documentation

checkCanRead

CTaskItem::checkCanRead(
)

The method verifies user access to tasks.

Parameters

No parameters

Example

$task = new CTaskItem(10, 3);
if (!$task->checkCanRead())
{
     print('No access to the task with ID 10 for the user with ID 3');
}



© «Bitrix24», 2001-2024
Up