[rt-users] Perl help

Ken Crocker kfcrocker at lbl.gov
Tue May 26 17:14:11 EDT 2009


Greetings,

    I need to know how to take an email address (directly from an email 
header) and get the actual UserId/PrincipalId from RT. I have the 
address split out and now I just need an ID. I'm assuming that the 
PrincipalId is the same thing as the Name field from the USERS Table. In 
other words, I do NOT want to add an entire email address as a Ticket 
watcher, I want the Name field from the USers Table (ie. instead of 
KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to 
KFCrocker at lbl.gov). Thank you in advance.

Kenn
LBNL



More information about the rt-users mailing list