How to find out who has Shoretel API licences applied to their account

Finding out who has API licences in your Shoretel system can be tricky as there is no way of doing it in the Director apart from going through every single user account and checking the tick box. If you are like me and have 1000’s of users – this really isn’t possible. But, there is […]

How To Find Out Who Has Shoretel API Licences Applied To Their Account

Finding out who has API licences in your Shoretel system can be tricky as there is no way of doing it in the Director apart from going through every single user account and checking the tick box.

If you are like me and have 1000’s of users – this really isn’t possible. But, there is a solution!

ShoreTel Database Connection

If you logon to your main HQ server (where your MySQL Database is) and run the MySQL software you will be asked to connect to a database. The settings you need to enter are as below:

MySQL Host Address: localhost
Username: (whatever username it is – default is root)
Password: (whatever username it is – default is shorewaredba)
Port: 4308
Database: shoreware

mySQL Query

Connect to the database and you can then enter an SQL query. The query you need to run is:

SELECT * FROM users WHERE AllowPAPI = 1

This will then return all the users that have an API licence allocated to them – this can then be viewed or exported to CSV.

Comments

If you have any comments or questions about this, please feel free to leave them below and we will get back to you as soon as we can.

🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.