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!
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)
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 <br />
This will then return all the users that have an API licence allocated to them – this can then be viewed or exported to CSV.
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.