Skip to main content
Version: 8.1

system.project.getProjectNames

This function is used in Python Scripting.

Description​

Returns an unsorted collection of strings, where each string represents the name of a project on the Gateway. If no projects exist, returns an empty list.

This function only ever returns project names, ignoring project titles. The function also ignores the "enabled" property, including disabled projects in the results.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.project.getProjectNames()

Parameters​

Nothing

Returns​

List - A list containing string representations of project names on the Gateway.

Scope​

Gateway, Vision Client, Perspective Session

Code Example​

Code Snippet
# Calling this from the Script Console prints out each project name.
print system.project.getProjectNames()