Hello,

How to get CustomerIDs from a customer ?

I thought it was sommething like :

  $Self->{CustomerUserObject} = Kernel::System::CustomerUser->new(%Param);
  ...
  my @CustomerIDs = $Self->{CustomerUserObject}->CustomerIDs(
                    User => 'bernard.chambon@cc.in2p3.fr', );


but, after setting CustomerIDs to MY_COMPANY for this customer (Username='bernard.chambon@cc.in2p3.fr')
This code doesn't get this value (MY_COMPANY) but  something that looks like the id (bernard.chambon@cc.in2p3.fr

Do I miss something ?

Do I have to retrieve CustomerIDs  from DB ? I did it , it's ok.

Best regards


ps : 
mysql> select customer_id, customer_ids from customer_user where customer_id = 'bernard.chambon@cc.in2p3.fr' ;
+-----------------------------+--------------+
| customer_id                 | customer_ids |
+-----------------------------+--------------+
| bernard.chambon@cc.in2p3.fr | MY_COMPANY   |
+-----------------------------+--------------+




---------------
Bernard CHAMBON
IN2P3 / CNRS
04 72 69 42 18