user license disconnected property

161
2
Jump to solution
11-09-2017 07:36 PM
GarethWalters3
New Contributor III

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AtmaMani
Esri Contributor

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.

View solution in original post

2 Replies
AtmaMani
Esri Contributor

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.

View solution in original post

GarethWalters3
New Contributor III

Thanks very much for that Atma, that is exactly what I was after.  Appreciate the reply.'

Cheers,


Gareth

0 Kudos