def get_member_info(self, page_size=500):
        """ Retrieves member information from the AD group object.

        :param page_size (optional): Many servers have a limit on the number of results that can be returned.
                                     Paged searches circumvent that limit. Adjust the page_size to be below the
                                     server's size limit. (default: 500)
        :type page_size: int

        :returns: A dictionary of information on members of the AD group based on the LDAP_GROUPS_ATTRIBUTE_LIST
                  setting or attr_list argument.

        """

        member_info = []

        for member in self._get_group_members(page_size):
            info_dict = {}

            for attribute_name in member["attributes"]:
                raw_attribute = member["attributes"][attribute_name]

                # Pop one-item lists
                if len(raw_attribute) == 1:
                    raw_attribute = raw_attribute[0]

                info_dict.update({attribute_name: raw_attribute})

            member_info.append(info_dict)

        return member_info
def get_member_info ( self , page_size = 500 ) : member_info = [ ] for member in self . _get_group_members ( page_size ) : info_dict = { } for attribute_name in member [ "attributes" ] : raw_attribute = member [ "attributes" ] [ attribute_name ] if len ( raw_attribute ) == 1 : raw_attribute = raw_attribute [ 0 ] info_dict . update ( { attribute_name : raw_attribute } ) member_info . append ( info_dict ) return member_info
Retrieves member information from the AD group object.

        :param page_size (optional): Many servers have a limit on the number of results that can be returned.
                                     Paged searches circumvent that limit. Adjust the page_size to be below the
                                     server's size limit. (default: 500)
        :type page_size: int

        :returns: A dictionary of information on members of the AD group based on the LDAP_GROUPS_ATTRIBUTE_LIST
                  setting or attr_list argument.