Announcements

SecurID® Discussions

Browse the SecurID discussion board to get product help and collaborate with other SecurID users.
xjwang1
New Contributor
New Contributor

how to list the user groups have access to authenticate on the authentication agents

Looking for a PSQL select statement to list all the user groups <-----> agents. 

 

Thanks for your help!

0 Likes
4 Replies
EdwardDavis
Employee
Employee

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
from
ims_group_data g, am_agent_group ag,
am_agent aa, am_host ah
where
g.id = ag.group_id
and
ag.agent_id = aa.id
and
ah.id = aa.host_id;

 

-----------------

add 

and

aa.is_restricted is true;

 

if you only want to see restricted agents and don't care about logon aliases.

0 Likes

Thank you! You saved me tons of time.

0 Likes

one more question: trying to pull out the last date the token was used for authentication but could not find that in all the token related tables.

0 Likes

found the last_login_date from the am_token_oob. 

0 Likes