Documentation

isAbsentOnVacation

public static
\Bitrix\Intranet\UserAbsence::isAbsentOnVacation(
   $userId,
   $returnToDate = false
);

Method checks if a specific user is on vacation. Returns true when user is on vacation.

Parameters

Class Description Available from version
userId User ID
returnToDate False by default. When set to true returns user vacation final date.

© «Bitrix24», 2001-2024
Up