[rt-users] RES: Is it possible to specify a different user with RT CLI ?

Kevin Falcone falcone at bestpractical.com
Fri Jun 14 14:58:36 EDT 2013

On Tue, Jun 11, 2013 at 11:24:54AM +0200, Jean-Christophe Boggio wrote:
> # As I understand it, RT's $TicketObj->new expects a RT::User parameter
> # which will be the "CurrentUser"

It actually wants an RT::CurrentUser, but RT will do the conversion
for you.

> As a side note, the RT->Init() is very long, mainly because of
> RT::I18N->Init()

This surprises me, what's slow and how did you profile it?
You could limit the languages that RT loads, but that may not do what
you want.  You may also run into really weird errors depending on what
parts of RT you invoke.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130614/d2b74e4f/attachment.sig>

More information about the rt-users mailing list