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