[rt-users] Getting current user's details in a Scrip

Ruslan Zakirov ruz at bestpractical.com
Mon Dec 1 23:42:46 EST 2008


$Transaction->CreatorObj

On Tue, Dec 2, 2008 at 6:10 AM, Stuart Browne
<stuart.browne at ausregistry.com.au> wrote:
> Hi,
>
> I'm trying to tie a specific custom field down to being modified only by a specific user, but can't figure out how to find out what user is actually logged in doing the action.
>
> Whenever I use $self->CurrentUser, it shows 'RT_System' instead of the user I'm logged in as, and the person isn't going to be the owner of the ticket.
>
> Anybody have any ideas?
>
> Stuart J. Browne
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list