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