[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-users
Subject:    Re: [rt-users] How get Current user in scrip
From:       Kevin Falcone <falcone () bestpractical ! com>
Date:       2014-01-31 18:28:56
Message-ID: 20140131182856.GN1828 () jibsheet ! com
[Download RAW message or body]


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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic