PyDict - A dictionary that maps roster names to a List of usernames in the roster. The List of usernames may be empty if no users have been added to the roster.
Gateway, Vision Client, Perspective Session
Code In Action
# This script will get all the rosters and list the users in them.
rosters = system.alarm.getRosters()
for key, values in rosters.iteritems():
# key is the roster name, values is a dict of usernames
print 'Roster', key, 'contains these users:'
for value in values:
print ' ', value
Roster Admins contains these users:
Roster Supervisors contains these users: