ILogonHours.FindByDate

Syntax

FindByDate(Current: DateTime): ILogonPeriod;

Parameters

Current is time for which it is necessary to find a time interval in which there is a time restriction of the user access.

Description

The FindByDate method searches time interval that contains the time which is passed by the Current parameter. If the search is successful, the method returns parameters of the time interval, and if the specified date is not included any period, the method returns Null.

See also:

ILogonHours