Hola Carlos,
If you want to grant 10 licenses, create a table with 10 records. Whenever a user logs in, he grabs the first available record and locks it.
When 10 records are locked, no more users can grab a license and the program bounces them.
If any workstation crashes, its locked record is released.
This is the simplest way I've seen for implementing what you need, but I'm sure that someone can poke holes at it and/or come up with something more interesting.
alex
>I try to find how to control user licences for my application.
>I need to know how many user are using the application in a multiuser environment and take control over end user licences.
>Does anybody know how to implement this funcionality ?
Low-carb diet not working? Try the Low-food diet instead!