Share via


HcmWorker.isEmployee Method

Determines whether the worker has an active employment of type employee for a given time range.

Syntax

public HcmIsEmployee isEmployee([utcdatetime _validFrom, utcdatetime _validTo])

Run On

Called

Parameters

  • _validFrom
    Type: utcdatetime
    A ValidFrom field value.

Return Value

Type: HcmIsEmployee Extended Data Type
true if the worker has an active employment of type employee; otherwise, false.

See Also

Reference

HcmWorker Table