How to find the license requested vs license granted?

Following the thread below I have code that can check the user and the license they were given and log them out as needed. I have been searching for days to figure out what the license they requested was and if they requested a MES Data Collection license but were given a Full license I want to check how many Fulls are available and stop the logon if we have less than 10 available.

I have all of the pieces, but the request. All of the CallcontextClient values are blank in SessionMod so they were no help.

Is there another method before this that I don’t see in the trace that I could stash the values?

2 Likes

Neat idea. I’ve never tried to be that clever myself. I’ve always just sussed it out after the fact. But you are trying to stop the disaster. Interesting.

And I still have not updated that BPM I mentioned…

:bomb:

1 Like

Yes, We have a lot of full licenses available, but tracing shows at the time the fulls are all out I have 20 DC available because of the way the license is extended once it is granted.

if I can’t find out what they asked for I will have to add a cool kid checkbox to their employee record, but as I wrote this I can probably use their default department to sus out who to deny the last 10 to.

1 Like

I do a security group on the user that says “You are not cool enough to use a full license.” (More or less.) But sounds like yours is more employee-driven, so that makes sense.

3 Likes