Admin Plugin - access "role" client side

How can i get role to appear on user object client side. I want to have logic that shows UI based on a users role.
Was this page helpful?