diff --git a/Kernel/System/Group.pm b/Kernel/System/Group.pm index 23901153a37..f7b958ebdf4 100644 --- a/Kernel/System/Group.pm +++ b/Kernel/System/Group.pm @@ -1913,12 +1913,12 @@ sub PermissionUserRoleGet { return; } - # get valid user list - my %UserList = $Kernel::OM->Get('Kernel::System::User')->UserList( - Type => 'Short', + my $UserLogin = $Kernel::OM->Get('Kernel::System::User')->UserLookup( + UserID => $Param{UserID}, + Silent => 1, ); - return if !$UserList{ $Param{UserID} }; + return if !$UserLogin; # get permission data my %Permissions = $Self->_DBRoleUserGet(