- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Re: How to query total license count and used License count from FNO Cloud?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How to query total license count and used License count from FNO Cloud?
How to query total number of license count and currently available license count of a feature from a cloud license server (Device) instances, using FlexNet Embeded API. We are using FlexNet_DotNet_XT_API at client end.
We are already using capability request with CapabilityRequestOperation.Preview to get the total license count and available license count. it is working fine except some case it is returning 0 for both total license count and used license count.
Case : When there is total 1 license count allocated to a feature. and 1 user has already acquired that license. in this case if we are querying license count on other user machine, capability response is displaying 'Max Count' = 0 and count = 0. that is wrong. it should display Max Count = 1 and count = 0.
Please help us to get total license count when there is all license are in used?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello,
The Preview option is the recommended method to get total/available license counts. If you are not getting expected results this could potentially be a bug. Please submit a support ticket.
Thank You
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your reply. I have already submitted a case in FlexNet support, waiting for FlexNet reply.
Thank you
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello,
After further investigation the Preview functionality is working as documented. In the User Guide please refer to the "Other Considerations" in the Preview section. One of the items is the following:
Only features with non-zero counts are included in the capability response. This behavior can limit the usefulness of the maximum count in certain circumstances, such as when all counts of a feature are currently being served to other clients or when multiple features with the same name are present on the license sever.
On other option would be to the use the license server REST API /features endpoint to get the status on the features.