JUser::getAuthorisedCategories

Method to return a list of all categories that a user has permission for a given action