Query to return all users that have access New Relic

I am looking to run a query against NR to see how many users have accessed in the last few months both internal and external - any ideas

Hi @eckersle - Can you clarify your goals here?

Are you interested in seeing who has logged into your New Relic account?
OR seeing users who have accessed your New Relic monitored application?