I've been working with SugarCRM by creating a custom module and a custom PHP file to that module. I need to display all the Roles available to Users and have the data displayed on the custom PHP page.
I have looked in to getAllRoles() function and...
ACLRole::getAllRoles(boolean $returnAsArray=false);
Can any one help me get these functions to work properly?
(Please answer only if you know the answer and do not close the question with false reasons.)