--- title: "system.user.getHolidayNames" description: "Returns a collection of Strings of all holiday names." --- # system.user.getHolidayNames > Returns a collection of Strings of all holiday names. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) 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 ```python title="Example #1" # This example prints the name of every holiday holidayNames = system.user.getHolidayNames() for holidayName in holidayNames: print holidayName ``` ```python title="Example #1 Output" Labor Day Groundhog Day ```