Share via


HcmWorker::phoneServer Method

Gets the primary telephone number of the worker if one exists.

Syntax

server public static Phone phoneServer(DirPersonRecId _personRecId)

Run On

Server

Parameters

Return Value

Type: Phone Extended Data Type
The primary telephone number of the worker if one exists; otherwise, an empty string.

See Also

Reference

HcmWorker Table