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).
Best regards,
Arkady Glazov
http://globster.ru
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
Where does the $self object come from? I want to use this code but I get this error:
Global symbol “$self” requires explicit package name (did you forget to declare “my $self”?)
Ok this is how I got current user (for future readers)
my $current_user = $session{CurrentUser}->UserObj;