system.roster.getRosterNames
New in 8.1.21
This function is used in Python Scripting.
Description​
Returns a list of roster names.
Syntax​
system.roster.getRosterNames()
Parameters​
None.
Returns​
List[String] - List of rosters on the Gateway.
Scope​
Gateway, Perspective Session
Code Examples​
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)