def __iter__(self):
        """iterator to loop through role entries"""
        nextCount = 0
        start = 0
        num = 100
        results = []
        while nextCount != -1:
            res = self.roles(start=start + nextCount, num=num)
            for r in res['roles']:
                yield r
            nextCount = int(res['nextStart'])
def __iter__ ( self ) : nextCount = 0 start = 0 num = 100 results = [ ] while nextCount != - 1 : res = self . roles ( start = start + nextCount , num = num ) for r in res [ 'roles' ] : yield r nextCount = int ( res [ 'nextStart' ] )
iterator to loop through role entries