system.user.getHolidayNames
This function is used in Python Scripting.
Description​
Returns a collection of Strings of all holiday names.
Client Permission Restrictions​
This scripting function has no Client Permission restrictions.
Syntax​
system.user.getHolidayNames()
Parameters​
Nothing
Returns​
List - A list of all holiday names, or an empty list if no holidays are defined. Add holidays using the system.user.addHoliday function.
Scope​
Gateway, Vision Client, Perspective Session
Code Examples​
Example #1
# This example prints the name of every holiday.
holidayNames = system.user.getHolidayNames()
for holidayName in holidayNames:
print holidayName