system.user.getScheduleNames
This function is used in Python Scripting.
Description​
Returns a sequence of strings representing the names of all of the schedules available.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.user.getScheduleNames()
Parameters​
None
Returns​
List - A List of Strings that holds the names of all the available schedules.
Scope​
Gateway, Designer, Client
Code Examples​
Example #1
# This example will print a list of all available schedules:
schedules = system.user.getScheduleNames()
for schedule in schedules:
print schedule
Example #1 Output
A
Always
B
C
Example
MyComposite
MySchedule