Roster script functions

I need to change users of a roster through a button, are there no scripting functions to edit a roster?

Not at this time. That’s why we added the calculated roster to alarm pipelines.

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.