This blog post is used for
You can get a first name, last name, and email of current admin user roles by calling User module’s Collection class.
You can fetch current user data by below code snippet,
3x Magento Master
This blog post is used for
You can get a first name, last name, and email of current admin user roles by calling User module’s Collection class.
You can fetch current user data by below code snippet,
Magento 2 Contains Multiple Users for the admin panel to access different sections of the functionality based on their User Roles.
You can see User Roles in the admin panel by clicking on the left navigation System -> Permissions -> User Roles.
You can delete the specific customer address by address id using the AddressRepositoryInterface interface.
Magento\Customer\Api\AddressRepositoryInterface contains the deleteById($addressId) function with pass first argument as address id to fetch specific customer address data.