Share via


JmgBulletinBoard::findPersonalMessages Method

Finds all public messages that are intended for a specific terminal and the personal messages for the specified user.

Syntax

client server public static JmgBulletinBoard findPersonalMessages(
    JmgWorkerRecId _worker, 
   [JmgTerminalId _terminalId, 
    NoYes _unreadMessagesOnly, 
    utcdatetime _viewDateTime])

Run On

Called

Parameters

  • _terminalId
    Type: JmgTerminalId Extended Data Type
    Indicates the ID of the client for which to retrieve messages. If no parameter is present, the executing clients ID is used; optional.
  • _unreadMessagesOnly
    Type: NoYes Enumeration
    A NoYes enumeration value that indicates whether to retrieve only unread personal messages.
  • _viewDateTime
    Type: utcdatetime
    Indicates the point in time for which to find the records. If no parameter is present, the current time is used; optional.

Return Value

Type: JmgBulletinBoard Table
The dataset of messages in the JmgBulletinBoard table.

Remarks

If the _terminalID parameter is not present, the ID of the executing client is used.

If the _viewDateTime parameter is not present, the current time is used.

See Also

Reference

JmgBulletinBoard Table