GetUserNameOfRecord

(Alarm Manager module)

Description: Given an alarm record, returns the user name associated with the transaction.
Returns: Text
Usage: Script Only.
Function Groups: Alarm
Related to: GetAlarmObject
Format: \AlarmManager\GetUserNameOfRecord(AlarmRecord[, TrimRealm])
Parameters:  
AlarmName
Required record. A reference to the alarm, as returned by the function GetAlarmObject.
TrimRealm
Optional Boolean. If TRUE, and if the user is a member of a security group, the realm (group) will be trimmed from the result.
Comments:

This function is intended primarily for presentation purposes.

Example: