Hi all,
In Portal we can see if the user has disconnected their license:
When you place your cursor over the colored square it will let you know when the expiry date is.
I have seen user.lastLogin property but was wondering if there is anyway getting to license bit: user.connected (bool) or something else?
Thanks in advance,
Gareth
Solved! Go to Solution.
Gareth, checkout the help here Querying extensions assigned to a named user account which shows how you can query the ArcGIS Pro license and its extensions assigned to a named user account. Note the 'disconnected': False in the example below can be used to know if the user took the license offline.
Gareth, checkout the help here Querying extensions assigned to a named user account which shows how you can query the ArcGIS Pro license and its extensions assigned to a named user account. Note the 'disconnected': False in the example below can be used to know if the user took the license offline.
Thanks very much for that Atma, that is exactly what I was after. Appreciate the reply.'
Cheers,
Gareth