Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Is it possible to detect from QVW (via macro, for example) if the application is being accessed by User with Named, Doc, or Session's licenses?
I would appreciate any suggestions/recomendations.
Best regards,
Vladimir
i BELIEVE you would have to include the user and CAL assignment as a table in your data model as a data island.
The table would list all the users with a doc cal and named user cal.
If their is a named user cal for the current user (use osuser() or qvuser() to do the lookup) then you know its named. If not then check if the document and the user has a doc cal assigned . if yes its a doc cal.
if none of the above its a session.
this does not take into account if you have usage cals though.
That is the order the licenses work so it would work if you can export your cal assignments to a format readable by qv and just load them in the load script.
i BELIEVE you would have to include the user and CAL assignment as a table in your data model as a data island.
The table would list all the users with a doc cal and named user cal.
If their is a named user cal for the current user (use osuser() or qvuser() to do the lookup) then you know its named. If not then check if the document and the user has a doc cal assigned . if yes its a doc cal.
if none of the above its a session.
this does not take into account if you have usage cals though.
That is the order the licenses work so it would work if you can export your cal assignments to a format readable by qv and just load them in the load script.
Jonathan,
Thanks! I was hoping for some system-level solution, but the one you are proposing is straight-forward enough to implement as well.
Thank you for suggestion.
Regards,
Vladimir