Create an order as another user

Is it possible to create an order as user A if I am logged in as user B?

Litium version: [8.7.2]

Hi,
There is no direct support for this but you can try to change the customer information in the cart by CartContext.AddOrUpdateCustomerInfoAsync.
SecurityContextService has also a method ActAs. You can try to use that one when you are getting the prices, adding item to shopping cart and placing the order.

If you want to login as another user please see Login an account without password. I’m not sure but it has to work for Litium 8 version also.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.