system.roster.getUsers
This function is used in Python Scripting.
Descriptionβ
Returns the list of users corresponding to the given rosterName.
Syntaxβ
system.roster.getUsers(rosterName)
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| String | rosterName | The name of the roster to get a list of users from. |
Returnsβ
List[String] - List of users within the specified roster.
Scopeβ
Gateway, Perspective Session
Code Examplesβ
Code Snippet
# This script gets a list of users within a specified roster and prints their
# information to the browser console.
users = system.roster.getUsers("myRoster")
system.perspective.print(users)