Jump to content


Photo

How to Get Current Admin User Detail in Magento 2


  • Please log in to reply
No replies to this topic

#1 Meetanshi

Meetanshi

    Advanced Member

  • Members
  • PipPipPip
  • 535 posts

Posted 09 October 2020 - 12:05 PM

There can be as many admin users as required with different level of access and roles. The various roles ensure security to the store.
 
 
There are 3 types of admin roles in Magento 2:
  • Account owner role
  • Project-level roles
  • Environment-level roles

    Methods to Get Current Admin User Detail in Magento 2:
  1. Using Block
  2. Using Object Manager

 



looking for the best presta addons with outstanding support? check this: PrestaShop Modules