Re: [rt-users] Perl help

2009-05-27 Thread Stephen Turner
On Tue, 26 May 2009 19:59:15 -0400, Ken Crocker kfcroc...@lbl.gov wrote: I don't see or understand the mechanisms that make the - work. My problem is that I am completely sight-oriented. It's the old saying, I can hear you talking, but I can't see a word you say. That's me. I've coded

[rt-users] Perl help

2009-05-26 Thread Ken Crocker
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

Re: [rt-users] Perl help

2009-05-26 Thread Ruslan Zakirov
I think you miss concepts: * each user is principal * each group is principal * but three above are records in different tables * id of a user is equal to id of its principal record * the same applies to groups * in DB couldn't be a group with id equal to id of a user * every watcher is a user *

Re: [rt-users] Perl help

2009-05-26 Thread Tom Lahti
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

Re: [rt-users] Perl help

2009-05-26 Thread Ruslan Zakirov
Once again, ALWAYS cc mailing list! Comments below. On Wed, May 27, 2009 at 2:36 AM, Ken Crocker kfcroc...@lbl.gov wrote: Ruslan,     What? I don't understand your answer. Perhaps I didn't explain myself very well. Let me try again. I understand the principals, I just don't know what code

Re: [rt-users] Perl help

2009-05-26 Thread Ken Crocker
Ruslan, My apologies on not CC'ing the list. I was trying to avoid letting the world see how ignorant I am on this stuff. Anyway, what I don't understand is how to get from an email address (which I DO have) to the ID or Name of the person that correlates to said Email address. Since I