SQL Query to list Enduser and controlled devices

Use below SQL query to List User-ID and controlled devices.

Tables used.

Device – This table contains device-level information like IP Phones and gateways.
Enduser – This table contains information about all Enduser in CUCM.
Enduserdevicemap – This table contains the mapping between data in Enduser table and Device table.

Sql Queries.

run sql select enduser.userid, device.name from enduser, enduserdevicemap,device where enduserdevicemap.fkdevice = device.pkid and enduserdevicemap.fkenduser = enduser.pkid order by enduser.userid


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s