At Monday 6/19/2006 02:14 PM, Bill Chever wrote:
Todd,
That's great and thanks for the quick reply. Excuse my ignorance, but how
do I get from the Requestors RT Group to the UserObj? In this case, I'm
assuming only one Requestor.
$self->TicketObj->Requestors->< missing this >$UserObj->SetPrivileged(0);
return 1;
Bill
Bill,
A ticket can have more than one requestor, so you can't do what you
want in one line. $self->TicketObj->Requestors returns a Group
object, so you'll have to work with that object to pull out the
individual requestors.
Steve
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
We're hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.html