Hi Martin,
I don't think there is an easy way to do that, e.g. in TicketAccumulation this values are fetch from the DB in this lines
sub GetObjectAttributes {
my ( $Self, %Param ) = @_;
# get user list
my %UserList = $Self->{UserObject}->UserList(
Type => 'Long',
Valid => 0,
);
While it could sound like good idea to try using Type => 'Short', that will not help, because you will only get the UserLogin that THATS what you want to avoid, so I see 2 options, there are maybe more.
1 Loop trough %UserList and remove the login part form the value, I mean is always in format "LastName, FirstName (UserLogin)" (without the quotes), so a Regex can do the magic.... but be careful with names like "De la Torre Heranandez, María Concepción Socorro (2) (Maria2)" where (2) is part of the name as a differentiator..... (you know, it could happen) and (Maria) is the UserLogin
2 Loop trough %UserList and get the UserData by UserGet() on each key, and assemble a temp UserList, when is done, copy the temp UserList to the Original. This is obviously slower than 1.
Both are dirty solutions and will need some development skills, as well as modifications to OTRS files, if you wish to to that I will recommend you to read the Development Manual and create a package so you don't modify an OTRS file directly, and if you uninstall the package you modified file is removed and replaced with the original. so is safer and portable.
((enjoy))
Carlos Rodríguez