# Change Role
Allows role change without logging out. To do this, you must select the ADempiere icon located in the upper right part of the window, and then select in the field "Role", the role for which you need to change.
# ADempiere-ZK version
# ADempiere-Vue version
# Where it is located?
It is located in the "Role" field of the menu that is displayed when selecting the ADempiere icon that is located in the upper right part of the window.
# What is it for?
It is used to change roles quickly and easily, without having to log out to start again by selecting the required role.
# Functions or Observations
TIP
ADempiere performs the role change automatically, updating the view so that only the windows, processes and reports to which the previously selected role has access are displayed. The user can make the change from one role to any other, as long as it is assigned the different required roles.
# How is it used in the Desktop version?
In the desktop version, click on the ADempiere icon "AD", located in the upper right part of the window, to view the menu that is displayed and select the role in the field "Role".
# How is it used in the mobile version?
In the mobile version, click on the ADempiere icon "AD", located in the upper right part of the window, to view the menu that is displayed and select the role in the field "Role".
# Developer Options
The Change Role panel is located on the icon to the right in the navigation bar.
└── src # Main source code
└── views # Views
└── profile # Profile
└── components # Components
└── RolesNavbar # Navbar Roles
Here you can see a Demo
The Change Role service consumption call can be found in the following path:
└─ src # Main source code
└─ api # Global Services
└─ role # Main directory of role services
The services called from the component are
GET /api/user/roles
POST /api/user/change-role