03-03-2022 09:45 AM
UCCX 11.6 - HA pair - co-resident CUIC.
I would like a list of what agents are in the CUIC groups. Yes , when looking a that the CUIC Admin, it has a small box with list of names you can scroll down through, but you can't copy then into something (like Excel or Word ) to do some comparisons.
Is there some sql command in the CLI to run ?
The CUIC references userID, UCCX list of Agents is by Name. Only way in UCCX to get user ID is by selecting the Agent individually . UCCX > Tool > User Management only pulls in 75 users from CUCM, so I cant get a full list there without searching individually.
I am trying to compare UCCX agents and the Groups they are members of in CUIC.
So far its been a painfully tedious manual task .... hoping for ideas or a sql command or something to make this easier.
03-03-2022 02:12 PM
Hi there
Check out this command in CCX CLI
admin:run uccx sql db_cra select s.skillname, rsm.competencelevel, r.resourceLoginID,
Hope this Helps
Cheers
Rath!
***Please rate helpful posts and if applicable mark "Accept as a Solution"***
03-16-2022 06:13 AM
Hi Rath,
That command is nice way to get the ID, Skill and Level out of the UCCX.
But what I am looking for is a way or cli command to get a list of the Members of the Groups in CUIC.
I did ask a TAC engineer and he has not found anyone that can say if there is such a way to get this list.
It would have been helpful if I could highlight all the names in the list (small box showing members) and copy .. but no that does not work
10-21-2025 09:07 PM - edited 10-21-2025 09:09 PM
find the groups a user belongs to in CUIC:
run sql SELECT gm.memberid,u.name,gm.groupid,g.name FROM cuic_data:cuicgroupmember gm INNER JOIN cuic_data:cuicuser u ON u.id==gm.memberid INNER JOIN cuic_data:cuicgroup g ON g.id==gm.groupid WHERE u.name LIKE ‘%username%'
find the members of a group in CUIC:
run sql SELECT gm.memberid,u.name,gm.groupid,g.name FROM cuic_data:cuicgroupmember gm INNER JOIN cuic_data:cuicuser u ON u.id==gm.memberid INNER JOIN cuic_data:cuicgroup g ON g.id==gm.groupid WHERE g.name = 'Supervisors'
queries were built from information in this post:
test in UCCX 15.0(1)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide