Log in
Model

Role

Magento\Authorization\Model\Role

What it does

This class represents an admin role entity in Magento 2's authorization system.

Developers use it to manage and retrieve role information, including getting associated users for a specific role.

It serves as the model layer for admin role operations like creating, updating, and querying role data through methods like getRoleUsers().

Public Methods

  • update()
  • getRoleUsers()