def get_groups_for_user(self, user_name, marker=None, max_items=None):
        params = {'UserName' : user_name}
        if marker:
            params['Marker'] = marker
        if max_items:
            params['MaxItems'] = max_items
        return self.get_response('ListGroupsForUser', params,
                                 list_marker='Groups')
        
    #
    # Access Keys
    #
List the groups that a specified user belongs to.
dataset/ETHPy150Open darcyliu/storyboard/boto/iam/connection.py/IAMConnection.get_groups_for_user