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.

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# This example prints the name of every holiday.

holidayNames = system.user.getHolidayNames()
for holidayName in holidayNames:
	print holidayName
Keywords

system user getHolidayNames, user.getHolidayNames