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 can only be called from the Controller. If called from an Agent, 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