I am on sugar 6.2.
For my project I am now able to create new user and assign roles and emails though coding. Now I need to hide some tabs to the user. Like I do not want the user see the Sales, Activities etc... tabs. How can I do this thought coding?