--- title: "system.roster.getRosterNames" description: "Returns a list of roster names." --- # system.roster.getRosterNames > Returns a list of roster names. This function is used in **Python Scripting**. ## Description ## Syntax `system.roster.getRosterNames()` ### Parameters None. ### Returns **List[String]** - List of rosters on the Gateway. ### Scope Gateway, Perspective Session ## Code Examples ```python title="Code Snippet" # This example gets a list of rosters from the Gateway when a Button is pressed and prints the list to the browser console. roster = system.roster.getRosterNames() system.perspective.print(roster) ```