Hi Bernard, I think it is more a topic for the dev@ list, really...
Did you add the CustomerIDs field in the customer datasource mapping? -- Mike On Wed, Jul 4, 2012 at 10:21 AM, Bernard Chambon <bernard.cham...@cc.in2p3.fr> wrote: > 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.cham...@cc.in2p3.fr', ); > > > but, after setting CustomerIDs to MY_COMPANY for this customer > (Username='bernard.cham...@cc.in2p3.fr') > This code doesn't get this value (MY_COMPANY) but something that looks like > the id (bernard.cham...@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.cham...@cc.in2p3.fr' ; > +-----------------------------+--------------+ > | customer_id | customer_ids | > +-----------------------------+--------------+ > | bernard.cham...@cc.in2p3.fr | MY_COMPANY | > +-----------------------------+--------------+ > > > > > --------------- > Bernard CHAMBON > IN2P3 / CNRS > 04 72 69 42 18 > > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs