Model
GetLoggedAsCustomerAdminId
Magento\LoginAsCustomer\Model\GetLoggedAsCustomerAdminId
What it does
This class retrieves the admin user ID when an administrator is logged in as a customer.
Developers use this to identify which admin user is currently impersonating a customer session, which is essential for audit trails and tracking admin actions performed while using the 'Login as Customer' feature.
Public Methods
- execute()