How to get logged in user role in js?
Try
global variable user_roles
console.log(user_roles)
you can check user roles using frappe.user.has_role(“System Manager”)
9 Likes
Thank You So much… Its Working