Get User Roles by ID

I see a codeless block for ‘Get current user roles’ and have been able to use it successfully. I need to also get the user roles for a selected user however. I can’t see an existing block or combination of blocks that might make this possible. Can you advise?

The use case here is essentially a Manager viewing a selected employee’s user profile page. Some of the elements of the page need to be displayed based on a ‘permission level’ defined by a custom User Role assigned to the selected employee.


Please disregard. I found the solution for this here: