[rt-users] How get Current user in scrip

Kevin Falcone falcone at bestpractical.com
Fri Jan 31 13:28:56 EST 2014


On Fri, Jan 31, 2014 at 11:23:28AM +0400, Arkady Glazov wrote:
>    How i can get user id or name that login to web RT? In scrip $self->CurrentUser show only
>    'RT_System' always (on any login).

$self->TransactionObj->CreatorObj is the RT::User object of the person
who made the change (transaction) which triggered the Scrip.

-kevin
-------------- 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/20140131/dcf1187e/attachment.sig>


More information about the rt-users mailing list