List Rosters In Pipeline

I would like to be able to enter a pipeline name in a script and find out what rosters are in the pipeline's blocks. Is this possible?

No, not really.

Is there any way to automatically generate a list of alarms that a user should be getting? I'm finding the process of going from user to roster to pipeline to alarm a little cumbersome.