[rt-users] Retrieving Requestors name in an Approval template

Russell Mosemann mose at ns.cune.edu
Wed Mar 2 07:19:52 EST 2005


On Wed, 2 Mar 2005, Oluwatomisin Ilori wrote:

> how can i retrieve a requestors name instead of his email address in code
> I use $Ticket->RequestorAddresses to retrieve the email but i don't know
> how to retrieve the name or id of the requestor instead. 

Requestors don't have names.  Requestors are email addresses.  Users have
names.  In order to find the user's name, you have to load a user based on
the requestor's email address and then access the user's name.

----
Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
"Make lunch, not war." - me




More information about the rt-users mailing list