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:
- Using Block
- Using Object Manager
Visit https://meetanshi.com/blog/get-current-admin-user-detail-in-magento-2/ for both the methods in details
No comments:
Write comments