LoadEvent
- LoadEvent(eventId): Event | null
-
Will load event (from the event log write queue or from the database) and return Event object or NULL if event not found. If the script is executed on behalf of a user without the "View event log" system access right, NULL is returned.
Table 1. Parameters eventId
Id of the event to be loaded from database
ReturnEvent loaded from database or NULL if event not found.
>>>event = LoadEvent(315); >>>event.id; 315