Browse Source

Update listgroupsandmembers.py (#56)

Added test to skip groups if their id is a null strings
master
David Stern 6 years ago
committed by GitHub
parent
commit
3aae9588de
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      listgroupsandmembers.py

2
listgroupsandmembers.py

@ -81,6 +81,8 @@ for group in groups:
grouptype=group['type']
groupproviderid=group['providerId']
if groupid!="": # Skip groups with empty id (this has been seen at least once at a customer site), because we cannot fetch their members.
# List the members of this group
endpoint='/identities/groups/'+groupid+'/members?limit=10000'
method='get'

Loading…
Cancel
Save