ARS WEB Customization - query to show groups managedby

I'm hoping someone may have done this before, i'm looking to add a customization to the web to allow the logged on user to pull up the groups they are manager on or in the secondary manager field.