on 09-28-2016 9:29 AM
Hi,
How to detect whether a asm agent has emulated which custromer user session? We have a requirement where we have to check which customer has been emulated by asm agent and then fetch some properties from customer database and set it in session How can we achieve this programmatically?
The user emulated can be retrieved by executing getUserService().setCurrentUser()
You may also want to look at extending https://download.hybris.com/api/5.7.0/commercesuite/de/hybris/platform/assistedservicefacades/impl/D... as you'll have access the user id there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.