Skip to main content
Version: 8.1

system.eam.getGroups

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.

Changed in 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

Code Examples​

Example #1
# Return and print all of the EAM groups
groups = system.eam.getGroups()
for group in groups:
print group