system.alarm.createRoster
This function is used in Python Scripting.
Descriptionβ
This function creates a new roster. Users may be added to the roster through the Gateway or the Roster Management component
Client Permission Restrictionsβ
Permission Type: Alarm Management
Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.
Syntaxβ
system.alarm.createRoster(name, description)
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| String | name | The name for the new roster |
| String | description | A description for the new roster. Required, but can be blank. |
Returnsβ
Nothing
Scopeβ
Gateway, Vision Client, Perspective Session
Code Examplesβ
Example #1
# This example creates a new roster
name = 'MyRoster'
description = 'A roster created by scripting'
system.alarm.createRoster(name, description)