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