Interface

IsLoginAsCustomerEnabledForCustomerResultInterface

Magento\LoginAsCustomerApi\Api\Data\IsLoginAsCustomerEnabledForCustomerResultInterface

What it does

This interface defines the contract for validation results when checking if the 'Login as Customer' feature is enabled for a specific customer.

Developers use this to determine whether an admin can log in as a particular customer and to retrieve any error messages explaining why the feature might be disabled.

Public Methods

  • isEnabled()
  • getMessages()
  • setMessages()