Script functions reference > Script functions in alphabetical order > G > GetSender

GetSender
Syntax
GetSender();
Description
Returns the name of the sender of the job. You specify the sender in the Runtime configuration in Design Center.
Note:
The sender is set when the collect phase is complete and before the pre-process phase has started. Therefore, you should not use the GetSender function in Before Job or Retrieved scripts. If used in these types of scripts, the function will return user anonymous.
Returns
The name of the sender.
Example
$sender=GetSender(); 
OpenText StreamServe 5.6 Updated: 2013-03-01