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
None
Returns
List - A list of all holiday names, or an empty list if no holidays are defined.
Scope
Gateway, Designer, Client
Code Examples
Example #1
# This example prints the name of every holiday
holidayNames = system.user.getHolidayNames()
for holidayName in holidayNames:
print holidayName
Example #1 Output
Labor Day
Groundhog Day