'Iterate over organizations with ``username`` as a public member.
.. versionadded:: 1.0.0
Replaces ``iter_orgs(\'sigmavirus24\')``.
:param str username: (optional), user whose orgs you wish to list
:param int number: (optional), number of organizations to return.
Default: -1 returns all available organizations
:param str etag: (optional), ETag from a previous request to the same
endpoint
:returns: generator of
:class:`Organization <github3.orgs.Organization>`\ s'

def organizations_with(self, username, number=(-1), etag=None):

    if username:
        url = self._build_url(u'users', username, u'orgs')
        return self._iter(int(number), url, Organization, etag=etag)
    return iter([])
