How to get the number of licenses currently enabled for each user and also know whether that user is enabled or not from TIBCO Spotfire Server application database