Select to view content in your preferred language

Is it possible to retrieve the "Last Used" property when viewing License Activity through the ArcGIS API for Python?

270
10
Jump to solution
a week ago
Labels (2)
Katie_Clark
MVP Alum

Hello,

I found this related post but no answer from it, wondering if there are any other insights.

I was hoping to be able to write a Notebook that would use the ArcGIS API for Python and query the license activity for ArcGIS Pro licenses in my organization. I am specifically interested in the "Last Used" property, which indicates when someone last opened a session within ArcGIS Pro. This information is different from their last login to ArcGIS Online.

I have not been able to find a way to access this info through the API - is it accessible anywhere programmatically?

Katie_Clark_0-1760032767730.png

 

Katie_Clark_1-1760032914605.png

Best,
Katie

If this answer helped you, please consider giving a kudos and/or marking as the accepted solution. Thanks!
10 Replies
DavidColey
MVP Frequent Contributor

Thanks for the suggestion @Katie_Clark - that is something we've looked into before but our IT security team has ruled that out for the GIS team.  Also thanks for the insight on the 'session' property.... that sounds right. 

I'm somewhat surprised that the usage_reports property didn't make into the PortalAdminManager, only the AGOLAdminManager.... not sure how we could get at license usage.  Maybe  usage_reports is planned for 12.0 . . . 

0 Kudos