Query to identify what menu items have been executed by security UserGroup

Good afternoon.

I recognise this is a long shot!

Whilst using AX Version 4.0, On many occasions I’ve been asked what users execute specific menu items. Within AX is it feasible to write a query or code to identify what usergroups have accessed specific menu items.

Can anyone assist with my question and if so very much appreciated?