Search found 1 match

by hbaier
01 Dec 2015, 15:05
Forum: Developers
Topic: Can't get current UserID in OTRS 5
Replies: 1
Views: 4570

Can't get current UserID in OTRS 5

Hi,

how can I get the UserID of the agent who just run my static stat.
In OTRS 4 I used "$Self->{UserID}". But in Version 5.0.3 the following code no longer works:

# get all valid system queues of the current user with permission type ro
my %Queues = $QueueObject->GetAllQueues(
UserID => $Self ...