This function is used in Python Scripting.

Description

Returns the names of the defined agent organizational groups in the Gateway. This function should only be called from the Controller. 

This feature was changed in Ignition version 8.1.11:
If called from an Agent on 8.1.11+, this function will return an exception. 

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.eam.getGroups()

  • Parameters

Nothing

  • Returns

A list of group names.

  • Scope

Gateway, Vision Client, Perspective Session

Examples
Code Snippet
# Return and print all of the EAM groups.
groups = system.eam.getGroups()
for group in groups:
	print group
Keywords

system eam getGroups, eam.getGroups