[rt-users] Putting requestor's real name in the autoreply?

Rick Russell rickr at rice.edu
Sun Jan 16 02:49:43 EST 2005

Matt Hanley wrote:
> What object would I use to reference the requestor's full name in an
> autoreply template?

my $Ticket = $self->TicketObj;

if ($Ticket -> Requestors->UserMembersObj->First->Id) {

     my $UserObj = RT::User->new( $RT::SystemUser );

     $UserObj->Load( $Ticket -> Requestors->UserMembersObj->First->Id );

     my $RealName = $UserObj->RealName; }

Rick R.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050116/66dbb984/attachment.sig>

More information about the rt-users mailing list