Re: [rt-users] Perl help

2009-05-27 Thread Stephen Turner
On Tue, 26 May 2009 19:59:15 -0400, Ken Crocker 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 in over 2

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 und

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 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 or command or

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 w

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 * i

[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 other

[rt-users] Perl help in setting Due Date

2008-06-20 Thread Kenneth Crocker
To all, I've been struggling for a couple days now trying to figure out what is wrong with my code. I have a CF defined as "Need-By Date" where my user puts in the date (mm/dd/) they want as a due date. I move it around and then try to put it into TR's Due date. The code looks like