Return all member ids of the portal.

def get_member_ids():
    """Return all member ids of the portal.
    """
    pm = get_tool("portal_membership")
    member_ids = pm.listMemberIds()
    # How can it be possible to get member ids with None?
    return filter(lambda x: x, member_ids)