I need to change users of a roster through a button, are there no scripting functions to edit a roster?
Is there a way in a script to query a roster?
Does system.alarm.getRosters() do what you want? I know it sounds like it just returns the names of the rosters, but what it really returns is a mapping of who is in each roster.