how to list the user groups have access to authenticate on the authentication agents
This rough query will list all groups tied to an agent
either for logon aliases, or for group restriction.
select g.name as GroupName, ah.name as AgentName
ims_group_data g, am_agent_group ag,
am_agent aa, am_host ah
g.id = ag.group_id
ag.agent_id = aa.id
ah.id = aa.host_id;
aa.is_restricted is true;
if you only want to see restricted agents and don't care about logon aliases.