I'm trying to access the user['groups'] property using a python script that calls the getUsers from agoTools. I can access the users and get information, but the 'groups' property (described as a json array) seems to be empty? I may just be accessing it incorrectly.
I am assigning the 'groups' property to a numpy array but the array comes up empty. Any suggestions?
for user in users:
UserGroupList = numpy.array(user['groups'])
print UserGroupList.shape
produces a long list of:
(0,)
(0,)
(0,)
(0,)
...