I have created a button on right hand top side under quick links menu.That will allow the user's to change the constraints of attributes in certain types.But I have to allow user's with certain roles only can able to proceed and change the values.
Since the button is on quick links menu,I can't get the context,object and other details.Is there a way to get the role of that User.What API do I need to use inorder to get the role of particular user?Also I don't know the user's team and group.Is there any API?